Update to Drupal 8.1.2. For more information, see https://www.drupal.org/project/drupal/releases/8.1.2
This commit is contained in:
parent
9eae24d844
commit
28556d630e
1322 changed files with 6699 additions and 2064 deletions
|
|
@ -168,7 +168,7 @@ function language_entity_base_field_info_alter(&$fields) {
|
|||
foreach ($fields as $definition) {
|
||||
// Set configurable form display for language fields with display options.
|
||||
if ($definition->getType() == 'language') {
|
||||
foreach (array('form', 'view') as $type) {
|
||||
foreach (array('form', 'view') as $type) {
|
||||
if ($definition->getDisplayOptions($type)) {
|
||||
// The related configurations will be purged manually on Language
|
||||
// module uninstallation. @see language_modules_uninstalled().
|
||||
|
|
|
|||
Reference in a new issue