5 use Drupal\Component\Plugin\PluginInspectionInterface;
6 use Drupal\Core\Entity\EntityInterface;
9 * Defines the interface for entity provider integration plugin.
11 interface EntityProviderInterface extends PluginInspectionInterface {
14 * Returns the selection display label.
17 * The selection display label.
19 public function label();
22 * Gets URI of the image file.
24 * @param \Drupal\Core\Entity\EntityInterface $entity
25 * Entity being cropping.
27 * @return string|false
28 * URI as string or FALSE
30 public function uri(EntityInterface $entity);