EntityProviderBase.php in Crop API 8
Same filename and directory in other branches
Namespace
Drupal\cropFile
src/EntityProviderBase.phpView source
<?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'];
}
/**
* {@inheritdoc}
*/
public abstract function uri(EntityInterface $entity);
}
Classes
Name | Description |
---|---|
EntityProviderBase | Base implementation for entity provider plugins. |