You are here

public function CropEntityProvider::getId in Crop API 8

Same name and namespace in other branches
  1. 8.2 src/Annotation/CropEntityProvider.php \Drupal\crop\Annotation\CropEntityProvider::getId()

Gets the unique ID for this annotated class.

Return value

string

Overrides Plugin::getId

File

src/Annotation/CropEntityProvider.php, line 46

Class

CropEntityProvider
Defines the annotation object for crop integration with storage entities.

Namespace

Drupal\crop\Annotation

Code

public function getId() {
  return $this->definition['entity_type'];
}