1 | <?php |
||
21 | class EntityBundle extends FieldPluginBase implements ContainerFactoryPluginInterface { |
||
|
|||
22 | use DependencySerializationTrait; |
||
23 | |||
24 | /** |
||
25 | * The entity type manager. |
||
26 | * |
||
27 | * @var \Drupal\Core\Entity\EntityTypeManagerInterface |
||
28 | */ |
||
29 | protected $entityTypeManager; |
||
30 | |||
31 | /** |
||
32 | * EntityBundle constructor. |
||
33 | * |
||
34 | * @param array $configuration |
||
35 | * The plugin configuration array. |
||
36 | * @param string $pluginId |
||
37 | * The plugin id. |
||
38 | * @param array $pluginDefinition |
||
39 | * The plugin definition array. |
||
40 | * @param \Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager |
||
41 | * The entity type manager service. |
||
42 | */ |
||
43 | public function __construct(array $configuration, $pluginId, $pluginDefinition, EntityTypeManagerInterface $entityTypeManager) { |
||
47 | |||
48 | /** |
||
49 | * {@inheritdoc} |
||
50 | */ |
||
51 | public static function create(ContainerInterface $container, array $configuration, $pluginId, $pluginDefinition) { |
||
59 | |||
60 | /** |
||
61 | * {@inheritdoc} |
||
62 | */ |
||
63 | public function resolveValues($value, array $args, ResolveInfo $info) { |
||
76 | } |
||
77 |