1 | <?php |
||
19 | class LanguageId extends EnumPluginBase implements ContainerFactoryPluginInterface { |
||
|
|||
20 | |||
21 | /** |
||
22 | * The language manager. |
||
23 | * |
||
24 | * @var \Drupal\Core\Language\LanguageManagerInterface |
||
25 | */ |
||
26 | protected $languageManager; |
||
27 | |||
28 | /** |
||
29 | * LanguageId constructor. |
||
30 | * |
||
31 | * @param array $configuration |
||
32 | * The plugin configuration array. |
||
33 | * @param string $pluginId |
||
34 | * The plugin id. |
||
35 | * @param array $pluginDefinition |
||
36 | * The plugin definition array. |
||
37 | * @param \Drupal\Core\Language\LanguageManagerInterface $languageManager |
||
38 | * The language manager service. |
||
39 | */ |
||
40 | public function __construct(array $configuration, $pluginId, $pluginDefinition, LanguageManagerInterface $languageManager) { |
||
44 | |||
45 | /** |
||
46 | * {@inheritdoc} |
||
47 | */ |
||
48 | public static function create(ContainerInterface $container, array $configuration, $pluginId, $pluginDefinition) { |
||
56 | |||
57 | /** |
||
58 | * {@inheritdoc} |
||
59 | */ |
||
60 | public function buildValues(PluggableSchemaBuilderInterface $schemaBuilder) { |
||
73 | |||
74 | } |
||
75 |