1 | <?php |
||
18 | class ImageStyleId extends EnumPluginBase implements ContainerFactoryPluginInterface { |
||
|
|||
19 | |||
20 | /** |
||
21 | * The entity type manager service. |
||
22 | * |
||
23 | * @var \Drupal\Core\Entity\EntityTypeManagerInterface |
||
24 | */ |
||
25 | protected $entityTypeManager; |
||
26 | |||
27 | /** |
||
28 | * {@inheritdoc} |
||
29 | */ |
||
30 | public static function create(ContainerInterface $container, array $configuration, $pluginId, $pluginDefinition) { |
||
38 | |||
39 | /** |
||
40 | * ImageStyleId constructor. |
||
41 | * |
||
42 | * @param array $configuration |
||
43 | * The plugin configuration array. |
||
44 | * @param string $pluginId |
||
45 | * The plugin id. |
||
46 | * @param array $pluginDefinition |
||
47 | * The plugin definition array. |
||
48 | * @param \Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager |
||
49 | * The entity type manager. |
||
50 | */ |
||
51 | public function __construct(array $configuration, $pluginId, $pluginDefinition, EntityTypeManagerInterface $entityTypeManager) { |
||
55 | |||
56 | /** |
||
57 | * {@inheritdoc} |
||
58 | */ |
||
59 | public function buildEnumValues($definition) { |
||
72 | |||
73 | } |
||
74 |