You are here

public function EntityProviderInterface::uri in Crop API 8

Same name and namespace in other branches
  1. 8.2 src/EntityProviderInterface.php \Drupal\crop\EntityProviderInterface::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

1 method overrides EntityProviderInterface::uri()
EntityProviderBase::uri in src/EntityProviderBase.php
Gets URI of the image file.

File

src/EntityProviderInterface.php, line 30

Class

EntityProviderInterface
Defines the interface for entity provider integration plugin.

Namespace

Drupal\crop

Code

public function uri(EntityInterface $entity);