Update to Drupal 8.2.0. For more information, see https://www.drupal.org/project/drupal/releases/8.2.0
This commit is contained in:
parent
2f563ab520
commit
f1c8716f57
1732 changed files with 52334 additions and 11780 deletions
|
@ -56,7 +56,7 @@ function options_field_storage_config_delete(FieldStorageConfigInterface $field_
|
|||
*
|
||||
* @param \Drupal\Core\Field\FieldStorageDefinitionInterface $definition
|
||||
* The field storage definition.
|
||||
* @param \Drupal\Core\Entity\FieldableEntityInterface|NULL $entity
|
||||
* @param \Drupal\Core\Entity\FieldableEntityInterface|null $entity
|
||||
* (optional) The specific entity when this function is called from the
|
||||
* context of a specific field on a specific entity. This allows custom
|
||||
* 'allowed_values_function' callbacks to either restrict the values or
|
||||
|
|
|
@ -65,11 +65,11 @@ abstract class ListItemBase extends FieldItemBase implements OptionsProviderInte
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public static function generateSampleValue(FieldDefinitionInterface $field_definition) {
|
||||
$allowed_options = options_allowed_values($field_definition->getFieldStorageDefinition());
|
||||
$values['value'] = array_rand($allowed_options);
|
||||
return $values;
|
||||
}
|
||||
public static function generateSampleValue(FieldDefinitionInterface $field_definition) {
|
||||
$allowed_options = options_allowed_values($field_definition->getFieldStorageDefinition());
|
||||
$values['value'] = array_rand($allowed_options);
|
||||
return $values;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
|
|
|
@ -89,7 +89,7 @@ display:
|
|||
plugin_id: field
|
||||
filters:
|
||||
status:
|
||||
value: true
|
||||
value: '1'
|
||||
table: node_field_data
|
||||
field: status
|
||||
id: status
|
||||
|
|
|
@ -89,7 +89,7 @@ display:
|
|||
plugin_id: field
|
||||
filters:
|
||||
status:
|
||||
value: true
|
||||
value: '1'
|
||||
table: node_field_data
|
||||
field: status
|
||||
id: status
|
||||
|
|
|
@ -89,7 +89,7 @@ display:
|
|||
plugin_id: field
|
||||
filters:
|
||||
status:
|
||||
value: true
|
||||
value: '1'
|
||||
table: node_field_data
|
||||
field: status
|
||||
id: status
|
||||
|
|
Reference in a new issue