diff --git a/core/modules/aggregator/aggregator.module b/core/modules/aggregator/aggregator.module index d6c303f..c0ff91e 100644 --- a/core/modules/aggregator/aggregator.module +++ b/core/modules/aggregator/aggregator.module @@ -107,23 +107,6 @@ function aggregator_entity_extra_field_info() { $extra = array(); $extra['aggregator_feed']['aggregator_feed'] = array( - 'form' => array( - 'title' => array( - 'label' => t('Title'), - 'description' => t('Title'), - 'weight' => -1, - ), - 'url' => array( - 'label' => t('URL'), - 'description' => t('URL'), - 'weight' => 0, - ), - 'refresh' => array( - 'label' => t('Update interval'), - 'description' => t('Update interval'), - 'weight' => 0, - ), - ), 'display' => array( 'items' => array( 'label' => t('Items'), diff --git a/core/modules/aggregator/lib/Drupal/aggregator/Entity/Feed.php b/core/modules/aggregator/lib/Drupal/aggregator/Entity/Feed.php index 92533d2..d40ec0a 100644 --- a/core/modules/aggregator/lib/Drupal/aggregator/Entity/Feed.php +++ b/core/modules/aggregator/lib/Drupal/aggregator/Entity/Feed.php @@ -144,7 +144,8 @@ public static function baseFieldDefinitions(EntityTypeInterface $entity_type) { ->setDisplayOptions('form', array( 'type' => 'string', 'weight' => -5, - )); + )) + ->setDisplayConfigurable('form', TRUE); $fields['langcode'] = FieldDefinition::create('language') ->setLabel(t('Language code')) @@ -158,7 +159,8 @@ public static function baseFieldDefinitions(EntityTypeInterface $entity_type) { ->setDisplayOptions('form', array( 'type' => 'uri', 'weight' => -3, - )); + )) + ->setDisplayConfigurable('form', TRUE); $intervals = array(900, 1800, 3600, 7200, 10800, 21600, 32400, 43200, 64800, 86400, 172800, 259200, 604800, 1209600, 2419200); $period = array_map('format_interval', array_combine($intervals, $intervals)); @@ -173,7 +175,8 @@ public static function baseFieldDefinitions(EntityTypeInterface $entity_type) { ->setDisplayOptions('form', array( 'type' => 'options_select', 'weight' => -2, - )); + )) + ->setDisplayConfigurable('form', TRUE); $fields['checked'] = FieldDefinition::create('timestamp') ->setLabel(t('Checked'))