5 use Drupal\Core\Entity\EntityInterface;
6 use Drupal\Core\Plugin\PluginBase;
9 * Base implementation for entity provider plugins.
11 abstract class EntityProviderBase extends PluginBase implements EntityProviderInterface {
16 public function label() {
17 $this->pluginDefinition['label'];
23 abstract public function uri(EntityInterface $entity);