Update to Drupal 8.0.2. For more information, see https://www.drupal.org/drupal-8.0.2-release-notes
This commit is contained in:
parent
1a0e9d9fac
commit
a6b049dd05
538 changed files with 5247 additions and 1594 deletions
|
@ -177,8 +177,8 @@ class ContentTranslationHandler implements ContentTranslationHandlerInterface, E
|
|||
protected function hasAuthor() {
|
||||
// Check for field named uid, but only in case the entity implements the
|
||||
// EntityOwnerInterface. This helps to exclude cases, where the uid is
|
||||
// defined as field name, but is not meant to be an owner field e.g. the
|
||||
// User entity.
|
||||
// defined as field name, but is not meant to be an owner field; for
|
||||
// instance, the User entity.
|
||||
return $this->entityType->isSubclassOf('\Drupal\user\EntityOwnerInterface') && $this->checkFieldStorageDefinitionTranslatability('uid');
|
||||
}
|
||||
|
||||
|
@ -550,7 +550,7 @@ class ContentTranslationHandler implements ContentTranslationHandlerInterface, E
|
|||
// Update #title attribute for all elements that are allowed to have a
|
||||
// #title attribute according to the Form API Reference. The reason for this
|
||||
// check is because some elements have a #title attribute even though it is
|
||||
// not rendered, e.g. field containers.
|
||||
// not rendered; for instance, field containers.
|
||||
if (isset($element['#type']) && isset($fapi_title_elements[$element['#type']]) && isset($element['#title'])) {
|
||||
$element['#title'] .= $suffix;
|
||||
}
|
||||
|
|
|
@ -187,7 +187,7 @@ class FieldTranslationSynchronizer implements FieldTranslationSynchronizerInterf
|
|||
*
|
||||
* @param array $items
|
||||
* An array of field items.
|
||||
* @param integer $delta
|
||||
* @param int $delta
|
||||
* The delta identifying the item to be processed.
|
||||
* @param array $columns
|
||||
* An array of column names to be synchronized.
|
||||
|
|
|
@ -48,7 +48,7 @@ class ContentTranslationSyncUnitTest extends KernelTestBase {
|
|||
/**
|
||||
* The field cardinality.
|
||||
*
|
||||
* @var integer
|
||||
* @var int
|
||||
*/
|
||||
protected $cardinality;
|
||||
|
||||
|
|
Reference in a new issue