Update to Drupal 8.1.1. For more information, see https://www.drupal.org/node/2718713
This commit is contained in:
parent
c0a0d5a94c
commit
9eae24d844
669 changed files with 3873 additions and 1553 deletions
|
@ -63,7 +63,7 @@ class ContentTranslationRouteSubscriber extends RouteSubscriberBase {
|
|||
'entity_type_id' => $entity_type_id,
|
||||
),
|
||||
array(
|
||||
'_entity_access' => $entity_type_id . '.view',
|
||||
'_entity_access' => $entity_type_id . '.view',
|
||||
'_access_content_translation_overview' => $entity_type_id,
|
||||
),
|
||||
array(
|
||||
|
@ -89,7 +89,7 @@ class ContentTranslationRouteSubscriber extends RouteSubscriberBase {
|
|||
|
||||
),
|
||||
array(
|
||||
'_entity_access' => $entity_type_id . '.view',
|
||||
'_entity_access' => $entity_type_id . '.view',
|
||||
'_access_content_translation_manage' => 'create',
|
||||
),
|
||||
array(
|
||||
|
|
|
@ -163,7 +163,7 @@ abstract class ContentTranslationUITestBase extends ContentTranslationTestBase {
|
|||
$language = ConfigurableLanguage::load($langcode);
|
||||
$source_langcode = 'it';
|
||||
$edit = array('source_langcode[source]' => $source_langcode);
|
||||
$entity_type_id = $entity->getEntityTypeId();
|
||||
$entity_type_id = $entity->getEntityTypeId();
|
||||
$add_url = Url::fromRoute("entity.$entity_type_id.content_translation_add", [
|
||||
$entity->getEntityTypeId() => $entity->id(),
|
||||
'source' => $default_langcode,
|
||||
|
|
Reference in a new issue