diff --git a/core/modules/language/language.module b/core/modules/language/language.module index c4c71aa..41f85dc 100644 --- a/core/modules/language/language.module +++ b/core/modules/language/language.module @@ -219,7 +219,7 @@ function language_entity_supported() { // Field API and language support for configuration entities has been // sorted out. $entity_class = new ReflectionClass($info['class']); - if (!empty($info['fieldable']) && !$entity_class->implementsInterface('Drupal\Core\Config\Entity\ConfigEntityInterface')) { + if ($info['fieldable'] && !$entity_class->implementsInterface('Drupal\Core\Config\Entity\ConfigEntityInterface')) { $supported[$entity_type] = $entity_type; } } diff --git a/core/modules/translation_entity/translation_entity.admin.inc b/core/modules/translation_entity/translation_entity.admin.inc index bfb2982..e3ec2fb 100644 --- a/core/modules/translation_entity/translation_entity.admin.inc +++ b/core/modules/translation_entity/translation_entity.admin.inc @@ -66,21 +66,21 @@ function _translation_entity_form_language_content_settings_form_alter(array &$f * * @ingroup themable */ -function theme_translation_entity_admin_settings_table(array $variables) { +function theme_translation_entity_admin_settings_table($variables) { $element = $variables['element']; $header = array( array( 'data' => t('Translatable'), - 'class' => array('translatable') + 'class' => array('translatable'), ), array( 'data' => $element['#bundle_label'], - 'class' => array('bundle') + 'class' => array('bundle'), ), array( 'data' => t('Configuration'), - 'class' => array('operations') + 'class' => array('operations'), ), );