for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Drupal\crop;
use Drupal\Core\Entity\EntityInterface;
use Drupal\Core\Plugin\PluginBase;
/**
* Base implementation for entity provider plugins.
*/
abstract class EntityProviderBase extends PluginBase implements EntityProviderInterface {
* {@inheritdoc}
public function label() {
$this->pluginDefinition['label'];
}
abstract public function uri(EntityInterface $entity);