From 100d36259a09c4995a6787a4b6efd1ddee80ac67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20Rene=CC=81e=20Beach?= <splendidnoise@gmail.com> Date: Wed, 26 Mar 2014 15:01:44 +0100 Subject: [PATCH] Issue #2226445 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: J. ReneÌe Beach <splendidnoise@gmail.com> --- .../block/custom_block/lib/Drupal/custom_block/Entity/CustomBlock.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/modules/block/custom_block/lib/Drupal/custom_block/Entity/CustomBlock.php b/core/modules/block/custom_block/lib/Drupal/custom_block/Entity/CustomBlock.php index ec8d614..50c9d56 100644 --- a/core/modules/block/custom_block/lib/Drupal/custom_block/Entity/CustomBlock.php +++ b/core/modules/block/custom_block/lib/Drupal/custom_block/Entity/CustomBlock.php @@ -172,7 +172,8 @@ public static function baseFieldDefinitions(EntityTypeInterface $entity_type) { $fields['langcode'] = FieldDefinition::create('language') ->setLabel(t('Language code')) - ->setDescription(t('The custom block language code.')); + ->setDescription(t('The custom block language code.')) + ->setRevisionable(TRUE); $fields['info'] = FieldDefinition::create('string') ->setLabel(t('Subject')) -- 1.8.5.3