Pathologic was missing because of a .git folder inside.
[yaffs-website] / web / modules / contrib / crop / src / EntityProviderInterface.php
1 <?php
2
3 namespace Drupal\crop;
4
5 use Drupal\Component\Plugin\PluginInspectionInterface;
6 use Drupal\Core\Entity\EntityInterface;
7
8 /**
9  * Defines the interface for entity provider integration plugin.
10  */
11 interface EntityProviderInterface extends PluginInspectionInterface {
12
13   /**
14    * Returns the selection display label.
15    *
16    * @return string
17    *   The selection display label.
18    */
19   public function label();
20
21   /**
22    * Gets URI of the image file.
23    *
24    * @param \Drupal\Core\Entity\EntityInterface $entity
25    *   Entity being cropping.
26    *
27    * @return string|false
28    *   URI as string or FALSE
29    */
30   public function uri(EntityInterface $entity);
31
32 }