1 | <?php |
||
15 | class EntityByIdDeriver extends DeriverBase implements ContainerDeriverInterface { |
||
16 | |||
17 | use StringTranslationTrait; |
||
18 | |||
19 | /** |
||
20 | * The entity type manager service. |
||
21 | * |
||
22 | * @var \Drupal\Core\Entity\EntityTypeManagerInterface |
||
23 | */ |
||
24 | protected $entityTypeManager; |
||
25 | |||
26 | /** |
||
27 | * {@inheritdoc} |
||
28 | */ |
||
29 | public static function create(ContainerInterface $container, $basePluginId) { |
||
32 | |||
33 | /** |
||
34 | * {@inheritdoc} |
||
35 | */ |
||
36 | public function __construct(EntityTypeManagerInterface $entityTypeManager) { |
||
39 | |||
40 | /** |
||
41 | * {@inheritdoc} |
||
42 | */ |
||
43 | public function getDerivativeDefinitions($basePluginDefinition) { |
||
63 | |||
64 | } |
||
65 |