Mercurial > hg > isophonics-drupal-site
comparison core/modules/language/tests/src/Functional/LanguageConfigurationTest.php @ 12:7a779792577d
Update Drupal core to v8.4.5 (via Composer)
author | Chris Cannam |
---|---|
date | Fri, 23 Feb 2018 15:52:07 +0000 |
parents | 4c8ae668cc8c |
children | af1871eacc83 |
comparison
equal
deleted
inserted
replaced
11:bfffd8d7479a | 12:7a779792577d |
---|---|
196 * Helper to get maximum weight of configurable (unlocked) languages. | 196 * Helper to get maximum weight of configurable (unlocked) languages. |
197 * | 197 * |
198 * @return int | 198 * @return int |
199 * Maximum weight of configurable languages. | 199 * Maximum weight of configurable languages. |
200 */ | 200 */ |
201 protected function getHighestConfigurableLanguageWeight(){ | 201 protected function getHighestConfigurableLanguageWeight() { |
202 $max_weight = 0; | 202 $max_weight = 0; |
203 | 203 |
204 $storage = $this->container->get('entity_type.manager') | 204 $storage = $this->container->get('entity_type.manager') |
205 ->getStorage('configurable_language'); | 205 ->getStorage('configurable_language'); |
206 $storage->resetCache(); | 206 $storage->resetCache(); |