| 1 | <?php |
||
| 14 | class CropEntityProvider extends Plugin { |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Entity type plugin provides. |
||
| 18 | * |
||
| 19 | * @var string |
||
| 20 | */ |
||
| 21 | public $entity_type; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * The human-readable name of the crop entity provider. |
||
| 25 | * |
||
| 26 | * Will usually match entity type name. |
||
| 27 | * |
||
| 28 | * @var \Drupal\Core\Annotation\Translation |
||
| 29 | * |
||
| 30 | * @ingroup plugin_translatable |
||
| 31 | */ |
||
| 32 | public $label; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * A brief description of the crop entity provider. |
||
| 36 | * |
||
| 37 | * @var \Drupal\Core\Annotation\Translation |
||
| 38 | * |
||
| 39 | * @ingroup plugin_translatable |
||
| 40 | */ |
||
| 41 | public $description = ''; |
||
| 42 | |||
| 43 | /** |
||
| 44 | * {@inheritdoc} |
||
| 45 | */ |
||
| 46 | public function getId() { |
||
| 49 | |||
| 50 | } |
||
| 51 |