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:
Pantheon Automation 2016-10-06 15:16:20 -07:00 committed by Greg Anderson
parent 2f563ab520
commit f1c8716f57
1732 changed files with 52334 additions and 11780 deletions

View file

@ -30,7 +30,7 @@ trait AllowedTagsXssTrait {
* valid UTF-8.
*/
public function fieldFilterXss($string) {
return FieldFilteredMarkup::create($string);
return FieldFilteredMarkup::create($string);
}
/**

View file

@ -257,7 +257,7 @@ class FieldItemList extends ItemList implements FieldItemListInterface {
/**
* {@inheritdoc}
*/
public function generateSampleItems($count = 1) {
public function generateSampleItems($count = 1) {
$field_definition = $this->getFieldDefinition();
$field_type_class = \Drupal::service('plugin.manager.field.field_type')->getPluginClass($field_definition->getType());
for ($delta = 0; $delta < $count; $delta++) {

View file

@ -245,7 +245,7 @@ interface FieldItemListInterface extends ListInterface, AccessibleInterface {
* in order to be a valid runtime value for the field type; e.g., a date field
* could process the defined value of 'NOW' to a valid date.
*
* @param array
* @param array $default_value
* The unprocessed default value defined for the field, as a numerically
* indexed array of items, each item being an array of property/value pairs.
* @param \Drupal\Core\Entity\FieldableEntityInterface $entity

View file

@ -34,7 +34,7 @@ class FieldTypePluginManager extends DefaultPluginManager implements FieldTypePl
* keyed by the corresponding namespace to look for plugin implementations.
* @param \Drupal\Core\Cache\CacheBackendInterface $cache_backend
* Cache backend instance to use.
* @param \Drupal\Core\Extension\ModuleHandlerInterface
* @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler
* The module handler.
* @param \Drupal\Core\TypedData\TypedDataManagerInterface $typed_data_manager
* The typed data manager.

View file

@ -617,7 +617,7 @@ class EntityReferenceItem extends FieldItemBase implements OptionsProviderInterf
$form_state->setRebuild();
}
/**
/**
* {@inheritdoc}
*/
public static function getPreconfiguredOptions() {

View file

@ -13,7 +13,6 @@ use Drupal\Core\TypedData\DataDefinition;
* id = "timestamp",
* label = @Translation("Timestamp"),
* description = @Translation("An entity field containing a UNIX timestamp value."),
* no_ui = TRUE,
* default_widget = "datetime_default",
* default_formatter = "timestamp",
* constraints = {

View file

@ -25,7 +25,7 @@ class BooleanCheckboxWidget extends WidgetBase {
*/
public static function defaultSettings() {
return array(
'display_label' => FALSE,
'display_label' => TRUE,
) + parent::defaultSettings();
}

View file

@ -190,7 +190,7 @@ abstract class OptionsWidgetBase extends WidgetBase {
/**
* Returns the empty option label to add to the list of options, if any.
*
* @return string|NULL
* @return string|null
* Either a label of the empty option, or NULL.
*/
protected function getEmptyLabel() { }