abstract public function EntityProviderBase::uri in Crop API 8
Same name and namespace in other branches
- 8.2 src/EntityProviderBase.php \Drupal\crop\EntityProviderBase::uri()
Gets URI of the image file.
Parameters
\Drupal\Core\Entity\EntityInterface $entity: Entity being cropping.
Return value
string|false URI as string or FALSE
Overrides EntityProviderInterface::uri
2 methods override EntityProviderBase::uri()
- File::uri in src/
Plugin/ Crop/ EntityProvider/ File.php - Gets URI of the image file.
- Media::uri in src/
Plugin/ Crop/ EntityProvider/ Media.php - Gets URI of the image file.
File
- src/
EntityProviderBase.php, line 23
Class
- EntityProviderBase
- Base implementation for entity provider plugins.
Namespace
Drupal\cropCode
public abstract function uri(EntityInterface $entity);