Mercurial > hg > cmmr2012-drupal-site
comparison core/modules/language/src/Plugin/Condition/Language.php @ 5:12f9dff5fda9 tip
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:34:47 +0100 |
parents | c75dbcec494b |
children |
comparison
equal
deleted
inserted
replaced
4:a9cd425dd02b | 5:12f9dff5fda9 |
---|---|
13 * Provides a 'Language' condition. | 13 * Provides a 'Language' condition. |
14 * | 14 * |
15 * @Condition( | 15 * @Condition( |
16 * id = "language", | 16 * id = "language", |
17 * label = @Translation("Language"), | 17 * label = @Translation("Language"), |
18 * context = { | 18 * context_definitions = { |
19 * "language" = @ContextDefinition("language", label = @Translation("Language")) | 19 * "language" = @ContextDefinition("language", label = @Translation("Language")) |
20 * } | 20 * } |
21 * ) | 21 * ) |
22 */ | 22 */ |
23 class Language extends ConditionPluginBase implements ContainerFactoryPluginInterface { | 23 class Language extends ConditionPluginBase implements ContainerFactoryPluginInterface { |