reverted: --- b/core/lib/Drupal/Core/Config/Entity/Exception/ConfigEntityIdLengthException.php +++ /dev/null @@ -1,15 +0,0 @@ -setLabel(t('Block type')) ->setDescription(t('The block type.')) - ->setSetting('target_type', 'custom_block_type') - ->setSetting('max_length', EntityTypeInterface::BUNDLE_MAX_LENGTH); + ->setSetting('target_type', 'custom_block_type'); $fields['log'] = FieldDefinition::create('string') ->setLabel(t('Revision log message')) @@ -191,7 +190,8 @@ $fields['type'] = FieldDefinition::create('entity_reference') ->setLabel(t('Block type')) ->setDescription(t('The block type.')) - ->setSetting('target_type', 'custom_block_type'); + ->setSetting('target_type', 'custom_block_type') + ->setSetting('max_length', EntityTypeInterface::BUNDLE_MAX_LENGTH); $fields['log'] = FieldDefinition::create('string') ->setLabel(t('Revision log message'))