1 | <?php |
||
13 | class EntityToJsonDeriver extends DeriverBase implements ContainerDeriverInterface { |
||
14 | |||
15 | /** |
||
16 | * The module handler service. |
||
17 | * |
||
18 | * @var \Drupal\Core\Extension\ModuleHandlerInterface |
||
19 | */ |
||
20 | protected $moduleHandler; |
||
21 | |||
22 | /** |
||
23 | * {@inheritdoc} |
||
24 | */ |
||
25 | public static function create(ContainerInterface $container, $basePluginId) { |
||
30 | |||
31 | /** |
||
32 | * Creates a EntityToJsonDeriver object. |
||
33 | * |
||
34 | * @param \Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler |
||
35 | * The module handler service. |
||
36 | */ |
||
37 | public function __construct(ModuleHandlerInterface $moduleHandler) { |
||
40 | |||
41 | /** |
||
42 | * {@inheritdoc} |
||
43 | */ |
||
44 | public function getDerivativeDefinitions($basePluginDefinition) { |
||
51 | |||
52 | } |
||
53 |