You are here

public function CropInterface::provider in Crop API 8

Same name and namespace in other branches
  1. 8.2 src/CropInterface.php \Drupal\crop\CropInterface::provider()

Gets entity provider for the crop.

Return value

\Drupal\crop\EntityProviderInterface Entity provider.

Throws

\Drupal\crop\EntityProviderNotFoundException Thrown if entity provider not found.

1 method overrides CropInterface::provider()
Crop::provider in src/Entity/Crop.php
Gets entity provider for the crop.

File

src/CropInterface.php, line 72

Class

CropInterface
Provides an interface defining the crop entity.

Namespace

Drupal\crop

Code

public function provider();