diff --git a/core/modules/action/lib/Drupal/action/Tests/BulkFormTest.php b/core/modules/action/lib/Drupal/action/Tests/BulkFormTest.php index dcce0c7..2eac78e 100644 --- a/core/modules/action/lib/Drupal/action/Tests/BulkFormTest.php +++ b/core/modules/action/lib/Drupal/action/Tests/BulkFormTest.php @@ -21,7 +21,7 @@ class BulkFormTest extends WebTestBase { * * @var array */ - public static $modules = array('action_bulk_test'); + public static $modules = array('node', 'action_bulk_test'); public static function getInfo() { return array( diff --git a/core/modules/aggregator/tests/modules/aggregator_test/aggregator_test.routing.yml b/core/modules/aggregator/tests/modules/aggregator_test/aggregator_test.routing.yml index 16a26be..01e7bc4 100644 --- a/core/modules/aggregator/tests/modules/aggregator_test/aggregator_test.routing.yml +++ b/core/modules/aggregator/tests/modules/aggregator_test/aggregator_test.routing.yml @@ -6,7 +6,7 @@ aggregator_test.feed: use_last_modified: FALSE use_etag: FALSE requirements: - _permission: 'access content' + _access: TRUE aggregator_test.redirect: path: '/aggregator/redirect' @@ -14,4 +14,4 @@ aggregator_test.redirect: _controller: '\Drupal\aggregator_test\Controller\AggregatorTestRssController::testRedirect' _title: 'Test feed with a redirect' requirements: - _permission: 'access content' + _access: TRUE diff --git a/core/modules/field/lib/Drupal/field/Tests/Views/FieldTestBase.php b/core/modules/field/lib/Drupal/field/Tests/Views/FieldTestBase.php index 22d0b88..7badfb6 100644 --- a/core/modules/field/lib/Drupal/field/Tests/Views/FieldTestBase.php +++ b/core/modules/field/lib/Drupal/field/Tests/Views/FieldTestBase.php @@ -32,7 +32,7 @@ * * @var array */ - public static $modules = array('field_test_views'); + public static $modules = array('node', 'field_test_views'); /** * Stores the field definitions used by the test. diff --git a/core/modules/file/lib/Drupal/file/Tests/RemoteFileSaveUploadTest.php b/core/modules/file/lib/Drupal/file/Tests/RemoteFileSaveUploadTest.php index b9932b7..c249d22 100644 --- a/core/modules/file/lib/Drupal/file/Tests/RemoteFileSaveUploadTest.php +++ b/core/modules/file/lib/Drupal/file/Tests/RemoteFileSaveUploadTest.php @@ -12,13 +12,6 @@ */ class RemoteFileSaveUploadTest extends SaveUploadTest { - /** - * Modules to enable. - * - * @var array - */ - public static $modules = array('file_test'); - public static function getInfo() { $info = parent::getInfo(); $info['group'] = 'File API (remote)'; diff --git a/core/modules/file/lib/Drupal/file/Tests/SaveUploadTest.php b/core/modules/file/lib/Drupal/file/Tests/SaveUploadTest.php index 15e007b..ed4ec8b 100644 --- a/core/modules/file/lib/Drupal/file/Tests/SaveUploadTest.php +++ b/core/modules/file/lib/Drupal/file/Tests/SaveUploadTest.php @@ -36,7 +36,7 @@ public static function getInfo() { function setUp() { parent::setUp(); - $account = $this->drupalCreateUser(array('access content')); + $account = $this->drupalCreateUser(); $this->drupalLogin($account); $image_files = $this->drupalGetTestFiles('image'); diff --git a/core/modules/file/tests/file_module_test/file_module_test.routing.yml b/core/modules/file/tests/file_module_test/file_module_test.routing.yml index 5238cc8..aa76b30 100644 --- a/core/modules/file/tests/file_module_test/file_module_test.routing.yml +++ b/core/modules/file/tests/file_module_test/file_module_test.routing.yml @@ -7,4 +7,4 @@ file_module_test.managed_test: multiple: FALSE default_fids: NULL requirements: - _permission: 'access content' + _access: TRUE diff --git a/core/modules/file/tests/file_test/file_test.routing.yml b/core/modules/file/tests/file_test/file_test.routing.yml index 9f9878f..8ebb593 100644 --- a/core/modules/file/tests/file_test/file_test.routing.yml +++ b/core/modules/file/tests/file_test/file_test.routing.yml @@ -3,4 +3,4 @@ file.test: defaults: _form: 'Drupal\file_test\Form\FileTestForm' requirements: - _permission: 'access content' + _access: TRUE diff --git a/core/modules/filter/lib/Drupal/filter/Tests/FilterFormatAccessTest.php b/core/modules/filter/lib/Drupal/filter/Tests/FilterFormatAccessTest.php index cbf1661..e402fda 100644 --- a/core/modules/filter/lib/Drupal/filter/Tests/FilterFormatAccessTest.php +++ b/core/modules/filter/lib/Drupal/filter/Tests/FilterFormatAccessTest.php @@ -13,6 +13,14 @@ * Tests the filter format access functionality in the Filter module. */ class FilterFormatAccessTest extends WebTestBase { + + /** + * Modules to enable. + * + * @var array + */ + public static $modules = array('filter', 'node'); + /** * A user with administrative permissions. * diff --git a/core/modules/language/lib/Drupal/language/Tests/LanguageConfigurationElementTest.php b/core/modules/language/lib/Drupal/language/Tests/LanguageConfigurationElementTest.php index d5a3c02..5b413f8 100644 --- a/core/modules/language/lib/Drupal/language/Tests/LanguageConfigurationElementTest.php +++ b/core/modules/language/lib/Drupal/language/Tests/LanguageConfigurationElementTest.php @@ -20,7 +20,7 @@ class LanguageConfigurationElementTest extends WebTestBase { * * @var array */ - public static $modules = array('language', 'language_elements_test'); + public static $modules = array('node', 'language', 'language_elements_test'); public static function getInfo() { return array( diff --git a/core/modules/locale/lib/Drupal/locale/Tests/LocaleContentTest.php b/core/modules/locale/lib/Drupal/locale/Tests/LocaleContentTest.php index 1c2c597..093da50 100644 --- a/core/modules/locale/lib/Drupal/locale/Tests/LocaleContentTest.php +++ b/core/modules/locale/lib/Drupal/locale/Tests/LocaleContentTest.php @@ -19,7 +19,7 @@ class LocaleContentTest extends WebTestBase { * * @var array */ - public static $modules = array('locale'); + public static $modules = array('node', 'locale'); public static function getInfo() { return array( diff --git a/core/modules/options/lib/Drupal/options/Tests/OptionsFieldUITest.php b/core/modules/options/lib/Drupal/options/Tests/OptionsFieldUITest.php index 8793db2..f7a922c 100644 --- a/core/modules/options/lib/Drupal/options/Tests/OptionsFieldUITest.php +++ b/core/modules/options/lib/Drupal/options/Tests/OptionsFieldUITest.php @@ -19,7 +19,7 @@ class OptionsFieldUITest extends FieldTestBase { * * @var array */ - public static $modules = array('options', 'field_test', 'taxonomy', 'field_ui'); + public static $modules = array('node', 'options', 'field_test', 'taxonomy', 'field_ui'); /** * The name of the created content type. diff --git a/core/modules/shortcut/lib/Drupal/shortcut/Tests/ShortcutTestBase.php b/core/modules/shortcut/lib/Drupal/shortcut/Tests/ShortcutTestBase.php index 58b0313..9dc04dc 100644 --- a/core/modules/shortcut/lib/Drupal/shortcut/Tests/ShortcutTestBase.php +++ b/core/modules/shortcut/lib/Drupal/shortcut/Tests/ShortcutTestBase.php @@ -20,7 +20,7 @@ * * @var array */ - public static $modules = array('toolbar', 'shortcut'); + public static $modules = array('node', 'toolbar', 'shortcut'); /** * User with permission to administer shortcuts. diff --git a/core/modules/simpletest/lib/Drupal/simpletest/Tests/SimpleTestTest.php b/core/modules/simpletest/lib/Drupal/simpletest/Tests/SimpleTestTest.php index 2a19a5c1..25853ad 100644 --- a/core/modules/simpletest/lib/Drupal/simpletest/Tests/SimpleTestTest.php +++ b/core/modules/simpletest/lib/Drupal/simpletest/Tests/SimpleTestTest.php @@ -144,7 +144,7 @@ function testUserAgentValidation() { function testWebTestRunner() { $this->pass = t('SimpleTest pass.'); $this->fail = t('SimpleTest fail.'); - $this->valid_permission = 'access content'; + $this->valid_permission = 'access administration pages'; $this->invalid_permission = 'invalid permission'; if ($this->inCURL()) { diff --git a/core/modules/statistics/lib/Drupal/statistics/Tests/StatisticsLoggingTest.php b/core/modules/statistics/lib/Drupal/statistics/Tests/StatisticsLoggingTest.php index 2fe19e2..2a22bd7 100644 --- a/core/modules/statistics/lib/Drupal/statistics/Tests/StatisticsLoggingTest.php +++ b/core/modules/statistics/lib/Drupal/statistics/Tests/StatisticsLoggingTest.php @@ -22,7 +22,7 @@ class StatisticsLoggingTest extends WebTestBase { * * @var array */ - public static $modules = array('statistics', 'block'); + public static $modules = array('node', 'statistics', 'block'); /** * The Guzzle HTTP client. diff --git a/core/modules/system/lib/Drupal/system/Tests/Ajax/AjaxTestBase.php b/core/modules/system/lib/Drupal/system/Tests/Ajax/AjaxTestBase.php index a196f85..9ddebea 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Ajax/AjaxTestBase.php +++ b/core/modules/system/lib/Drupal/system/Tests/Ajax/AjaxTestBase.php @@ -19,7 +19,7 @@ * * @var array */ - public static $modules = array('ajax_test', 'ajax_forms_test'); + public static $modules = array('node', 'ajax_test', 'ajax_forms_test'); /** * Asserts the array of Ajax commands contains the searched command. diff --git a/core/modules/system/tests/modules/common_test/common_test.routing.yml b/core/modules/system/tests/modules/common_test/common_test.routing.yml index e02d5ce..0b7a237 100644 --- a/core/modules/system/tests/modules/common_test/common_test.routing.yml +++ b/core/modules/system/tests/modules/common_test/common_test.routing.yml @@ -10,7 +10,7 @@ common_test.destination: defaults: _controller: '\Drupal\common_test\Controller\CommonTestController::destination' requirements: - _permission: 'access content' + _access: TRUE common_test.js_and_css_querystring: path: '/common-test/query-string' @@ -18,4 +18,4 @@ common_test.js_and_css_querystring: _title: 'Test querystring' _content: '\Drupal\common_test\Controller\CommonTestController::jsAndCssQuerystring' requirements: - _permission: 'access content' + _access: TRUE diff --git a/core/modules/system/tests/modules/menu_test/menu_test.routing.yml b/core/modules/system/tests/modules/menu_test/menu_test.routing.yml index bc8a736..ceb56f2 100644 --- a/core/modules/system/tests/modules/menu_test/menu_test.routing.yml +++ b/core/modules/system/tests/modules/menu_test/menu_test.routing.yml @@ -12,7 +12,7 @@ menu_test.menu_callback_title: _title: 'Menu Callback Title' _content: '\Drupal\menu_test\Controller\MenuTestController::menuTestCallback' requirements: - _permission: 'access content' + _access: TRUE menu_test.login_callback: path: '/menu_login_callback' @@ -26,7 +26,7 @@ menu_test.callback_description: defaults: _content: '\Drupal\system\Controller\SystemController::systemAdminMenuBlockPage' requirements: - _permission: 'access content' + _access: TRUE menu_test.callback_description_plain: path: '/menu_callback_description/description-plain' @@ -34,7 +34,7 @@ menu_test.callback_description_plain: _title: 'Menu item with a regular description' _content: '\Drupal\menu_test\Controller\MenuTestController::menuTestCallback' requirements: - _permission: 'access content' + _access: TRUE menu_test.callback_description_callback: path: '/menu_callback_description/description-callback' @@ -42,7 +42,7 @@ menu_test.callback_description_callback: _title: 'Menu item with a description set with a callback' _content: '\Drupal\menu_test\Controller\MenuTestController::menuTestCallback' requirements: - _permission: 'access content' + _access: TRUE menu_test.menu_no_title_callback: path: '/menu_no_title_callback' @@ -50,7 +50,7 @@ menu_test.menu_no_title_callback: _title: 'A title with @placeholder' _content: '\Drupal\menu_test\Controller\MenuTestController::menuTestCallback' requirements: - _permission: 'access content' + _access: TRUE menu_test.router_test1: path: '/foo/{bar}' @@ -213,7 +213,7 @@ menu_test.menu_test_maintain: _title: 'Menu maintain test' _content: '\Drupal\test_page_test\Controller\TestPageTestController::testPage' requirements: - _permission: 'access content' + _access: TRUE menu_test.hierarchy_parent: path: '/menu-test/hierarchy/parent' @@ -221,7 +221,7 @@ menu_test.hierarchy_parent: _title: 'Parent menu router' _content: '\Drupal\test_page_test\Controller\TestPageTestController::testPage' requirements: - _permission: 'access content' + _access: TRUE menu_test.hierarchy_parent_child: path: '/menu-test/hierarchy/parent/child' @@ -229,7 +229,7 @@ menu_test.hierarchy_parent_child: _title: 'Child menu router' _content: '\Drupal\test_page_test\Controller\TestPageTestController::testPage' requirements: - _permission: 'access content' + _access: TRUE menu_test.hierarchy_parent_child2: path: '/menu-test/hierarchy/parent/child2/child' @@ -237,7 +237,7 @@ menu_test.hierarchy_parent_child2: _title: 'Unattached subchild router' _content: '\Drupal\test_page_test\Controller\TestPageTestController::testPage' requirements: - _permission: 'access content' + _access: TRUE menu_test.menu_test: path: '/menu-test' @@ -245,7 +245,7 @@ menu_test.menu_test: _title: 'Menu test root' _content: '\Drupal\test_page_test\Controller\TestPageTestController::testPage' requirements: - _permission: 'access content' + _access: TRUE menu_test.hidden: path: '/menu-test/hidden' @@ -253,7 +253,7 @@ menu_test.hidden: _title: 'Hidden test root' _content: '\Drupal\test_page_test\Controller\TestPageTestController::testPage' requirements: - _permission: 'access content' + _access: TRUE menu_test.hidden_menu: path: '/menu-test/hidden/menu' @@ -261,7 +261,7 @@ menu_test.hidden_menu: _title: 'Menus' _content: '\Drupal\test_page_test\Controller\TestPageTestController::testPage' requirements: - _permission: 'access content' + _access: TRUE menu_test.hidden_menu_add: path: '/menu-test/hidden/menu/add' @@ -269,7 +269,7 @@ menu_test.hidden_menu_add: _title: 'Add menu' _content: '\Drupal\test_page_test\Controller\TestPageTestController::testPage' requirements: - _permission: 'access content' + _access: TRUE menu_test.hidden_menu_settings: path: '/menu-test/hidden/menu/settings' @@ -277,7 +277,7 @@ menu_test.hidden_menu_settings: _title: 'Settings' _content: '\Drupal\test_page_test\Controller\TestPageTestController::testPage' requirements: - _permission: 'access content' + _access: TRUE menu_test.hidden_manage: path: '/menu-test/hidden/menu/manage/{menu}' @@ -285,7 +285,7 @@ menu_test.hidden_manage: _title: 'Customize menu' _content: '\Drupal\test_page_test\Controller\TestPageTestController::testPage' requirements: - _permission: 'access content' + _access: TRUE menu_test.hidden_manage_add: path: '/menu-test/hidden/menu/manage/{menu}/add' @@ -293,7 +293,7 @@ menu_test.hidden_manage_add: _title: 'Add link' _content: '\Drupal\test_page_test\Controller\TestPageTestController::testPage' requirements: - _permission: 'access content' + _access: TRUE menu_test.hidden_manage_edit: path: '/menu-test/hidden/menu/manage/{menu}/edit' @@ -301,7 +301,7 @@ menu_test.hidden_manage_edit: _title: 'Edit menu' _content: '\Drupal\test_page_test\Controller\TestPageTestController::testPage' requirements: - _permission: 'access content' + _access: TRUE menu_test.hidden_manage_delete: path: '/menu-test/hidden/menu/manage/{menu}/delete' @@ -309,7 +309,7 @@ menu_test.hidden_manage_delete: _title: 'Delete menu' _content: '\Drupal\test_page_test\Controller\TestPageTestController::testPage' requirements: - _permission: 'access content' + _access: TRUE menu_test.hidden_block: path: '/menu-test/hidden/block' @@ -317,7 +317,7 @@ menu_test.hidden_block: _title: 'Blocks' _content: '\Drupal\test_page_test\Controller\TestPageTestController::testPage' requirements: - _permission: 'access content' + _access: TRUE menu_test.hidden_block_add: path: '/menu-test/hidden/block/add' @@ -325,7 +325,7 @@ menu_test.hidden_block_add: _title: 'Add block' _content: '\Drupal\test_page_test\Controller\TestPageTestController::testPage' requirements: - _permission: 'access content' + _access: TRUE menu_test.hidden_block_configure: path: '/menu-test/hidden/block/manage/{foo}/{bar}' @@ -333,7 +333,7 @@ menu_test.hidden_block_configure: _title: 'Configure block' _content: '\Drupal\test_page_test\Controller\TestPageTestController::testPage' requirements: - _permission: 'access content' + _access: TRUE menu_test.hidden_block_delete: path: '/menu-test/hidden/block/manage/{foo}/{bar}/delete' @@ -341,7 +341,7 @@ menu_test.hidden_block_delete: _title: 'Configure block' _content: '\Drupal\test_page_test\Controller\TestPageTestController::testPage' requirements: - _permission: 'access content' + _access: TRUE menu_test.breadcrumbs: path: '/menu-test/breadcrumb/tasks' @@ -453,7 +453,7 @@ menu_test.custom_403: _title: 'Custom 403 page' _content: '\Drupal\menu_test\Controller\MenuTestController::custom403404' requirements: - _permission: 'access content' + _access: TRUE menu_test.custom_404: path: '/menu-test/custom-404-page' @@ -461,7 +461,7 @@ menu_test.custom_404: _title: 'Custom 404 page' _content: '\Drupal\menu_test\Controller\MenuTestController::custom403404' requirements: - _permission: 'access content' + _access: TRUE menu_test.menu_trail: path: '/menu-test/menu-trail' @@ -469,7 +469,7 @@ menu_test.menu_trail: _title: 'Menu trail - Case 1' _content: '\Drupal\menu_test\Controller\MenuTestController::menuTrail' requirements: - _permission: 'access content' + _access: TRUE menu_test.menu_trail_admin: path: '/admin/config/development/menu-trail' @@ -485,7 +485,7 @@ menu_test.theme_callback: _title: 'Page that displays different themes' _content: '\Drupal\menu_test\Controller\MenuTestController::themePage' requirements: - _permission: 'access content' + _access: TRUE menu_test.no_theme_callback: path: '/menu-test/no-theme-callback' @@ -494,7 +494,7 @@ menu_test.no_theme_callback: _content: '\Drupal\menu_test\Controller\MenuTestController::themePage' inherited: false requirements: - _permission: 'access content' + _access: TRUE menu_test.exotic_path: # "Special" ASCII characters, characters that look like a percent-escaped @@ -506,7 +506,7 @@ menu_test.exotic_path: _content: '\Drupal\menu_test\Controller\MenuTestController::menuTestCallback' requirements: exotic: '.+' - _permission: 'access content' + _access: TRUE menu_test.theme_callback_inheritance: path: '/menu-test/theme-callback/{inherited}/inheritance' @@ -514,7 +514,7 @@ menu_test.theme_callback_inheritance: _title: 'Page that tests theme negotiation inheritance.' _content: '\Drupal\menu_test\Controller\MenuTestController::themePage' requirements: - _permission: 'access content' + _access: TRUE menu_test.title_test_case1: path: '/menu-title-test/case1' diff --git a/core/modules/system/tests/modules/module_test/module_test.routing.yml b/core/modules/system/tests/modules/module_test/module_test.routing.yml index 450cf09..5a90ee9 100644 --- a/core/modules/system/tests/modules/module_test/module_test.routing.yml +++ b/core/modules/system/tests/modules/module_test/module_test.routing.yml @@ -4,7 +4,7 @@ module_test.dynamic_invoke: _title: 'Test hook dynamic loading (invoke)' _content: '\Drupal\module_test\Controller\ModuleTestController::hookDynamicLoadingInvoke' requirements: - _permission: 'access content' + _access: TRUE module_test.dynamic_invoke_all: path: '/module-test/hook-dynamic-loading-invoke-all' @@ -12,7 +12,7 @@ module_test.dynamic_invoke_all: _title: 'Test hook dynamic loading (invoke_all)' _content: '\Drupal\module_test\Controller\ModuleTestController::hookDynamicLoadingInvokeAll' requirements: - _permission: 'access content' + _access: TRUE module_test.class_loading: path: '/module-test/class-loading' diff --git a/core/modules/system/tests/modules/session_test/session_test.routing.yml b/core/modules/system/tests/modules/session_test/session_test.routing.yml index 17eafeb..25d5063 100644 --- a/core/modules/system/tests/modules/session_test/session_test.routing.yml +++ b/core/modules/system/tests/modules/session_test/session_test.routing.yml @@ -4,7 +4,7 @@ session_test.get: _title: 'Session value' _content: '\Drupal\session_test\Controller\SessionTestController::get' requirements: - _permission: 'access content' + _access: TRUE session_test.id: path: '/session-test/id' @@ -12,7 +12,7 @@ session_test.id: _title: 'Session ID' _content: '\Drupal\session_test\Controller\SessionTestController::getId' requirements: - _permission: 'access content' + _access: TRUE session_test.id_from_cookie: path: '/session-test/id-from-cookie' @@ -20,7 +20,7 @@ session_test.id_from_cookie: _title: 'Session ID from cookie' _content: '\Drupal\session_test\Controller\SessionTestController::getIdFromCookie' requirements: - _permission: 'access content' + _access: TRUE session_test.set: path: '/session-test/set/{test_value}' @@ -31,7 +31,7 @@ session_test.set: converters: test_value: '\s+' requirements: - _permission: 'access content' + _access: TRUE session_test.no_set: path: '/session-test/no-set/{test_value}' @@ -42,7 +42,7 @@ session_test.no_set: converters: test_value: '\s+' requirements: - _permission: 'access content' + _access: TRUE session_test.set_message: path: '/session-test/set-message' @@ -50,7 +50,7 @@ session_test.set_message: _title: 'Set message' _content: '\Drupal\session_test\Controller\SessionTestController::setMessage' requirements: - _permission: 'access content' + _access: TRUE session_test.set_message_but_dont_save: path: '/session-test/set-message-but-dont-save' @@ -58,7 +58,7 @@ session_test.set_message_but_dont_save: _title: 'Set message but do not save session' _content: '\Drupal\session_test\Controller\SessionTestController::setMessageButDontSave' requirements: - _permission: 'access content' + _access: TRUE session_test.set_not_started: path: '/session-test/set-not-started' @@ -66,7 +66,7 @@ session_test.set_not_started: _title: 'Set message when session is not started' _content: '\Drupal\session_test\Controller\SessionTestController::setNotStarted' requirements: - _permission: 'access content' + _access: TRUE session_test.is_logged_in: path: '/session-test/is-logged-in' diff --git a/core/modules/system/tests/modules/system_test/system_test.routing.yml b/core/modules/system/tests/modules/system_test/system_test.routing.yml index 660cfce..dcde199 100644 --- a/core/modules/system/tests/modules/system_test/system_test.routing.yml +++ b/core/modules/system/tests/modules/system_test/system_test.routing.yml @@ -65,14 +65,14 @@ system_test.variable_get: _title: 'Variable Get' _content: '\Drupal\system_test\Controller\SystemTestController::variableGet' requirements: - _permission: 'access content' + _access: TRUE system_test.set_header: path: '/system-test/set-header' defaults: _content: '\Drupal\system_test\Controller\SystemTestController::setHeader' requirements: - _permission: 'access content' + _access: TRUE system_test.shutdown_functions: path: '/system-test/shutdown-functions/{arg1}/{arg2}' diff --git a/core/modules/system/tests/modules/theme_test/theme_test.routing.yml b/core/modules/system/tests/modules/theme_test/theme_test.routing.yml index 9f08d5b..0c590a9 100644 --- a/core/modules/system/tests/modules/theme_test/theme_test.routing.yml +++ b/core/modules/system/tests/modules/theme_test/theme_test.routing.yml @@ -5,7 +5,7 @@ theme_test.function_template_override: defaults: _content: '\Drupal\theme_test\ThemeTestController::functionTemplateOverridden' requirements: - _permission: 'access content' + _access: TRUE theme_test.info_stylesheets: path: '/theme-test/info/stylesheets' @@ -63,25 +63,25 @@ suggestion_alter: defaults: _content: '\Drupal\theme_test\ThemeTestController::suggestionAlter' requirements: - _permission: 'access content' + _access: TRUE suggestion_provided: path: '/theme-test/suggestion-provided' defaults: _content: '\Drupal\theme_test\ThemeTestController::suggestionProvided' requirements: - _permission: 'access content' + _access: TRUE specific_suggestion_alter: path: '/theme-test/specific-suggestion-alter' defaults: _content: '\Drupal\theme_test\ThemeTestController::specificSuggestionAlter' requirements: - _permission: 'access content' + _access: TRUE function_suggestion_alter: path: '/theme-test/function-suggestion-alter' defaults: _content: '\Drupal\theme_test\ThemeTestController::functionSuggestionAlter' requirements: - _permission: 'access content' + _access: TRUE diff --git a/core/modules/system/tests/modules/twig_extension_test/twig_extension_test.routing.yml b/core/modules/system/tests/modules/twig_extension_test/twig_extension_test.routing.yml index cda7369..4993d18 100644 --- a/core/modules/system/tests/modules/twig_extension_test/twig_extension_test.routing.yml +++ b/core/modules/system/tests/modules/twig_extension_test/twig_extension_test.routing.yml @@ -3,10 +3,10 @@ twig_extension_test.filter: defaults: _content: '\Drupal\twig_extension_test\TwigExtensionTestController::testFilterRender' requirements: - _permission: 'access content' + _access: TRUE twig_extension_test.function: path: '/twig-extension-test/function' defaults: _content: '\Drupal\twig_extension_test\TwigExtensionTestController::testFunctionRender' requirements: - _permission: 'access content' + _access: TRUE diff --git a/core/modules/system/tests/modules/twig_theme_test/twig_theme_test.routing.yml b/core/modules/system/tests/modules/twig_theme_test/twig_theme_test.routing.yml index 07880fb..94dbadc 100644 --- a/core/modules/system/tests/modules/twig_theme_test/twig_theme_test.routing.yml +++ b/core/modules/system/tests/modules/twig_theme_test/twig_theme_test.routing.yml @@ -3,11 +3,11 @@ twig_theme_test.php_variables: defaults: _content: '\Drupal\twig_theme_test\TwigThemeTestController::phpVariablesRender' requirements: - _permission: 'access content' + _access: TRUE twig_theme_test.trans: path: '/twig-theme-test/trans' defaults: _content: '\Drupal\twig_theme_test\TwigThemeTestController::transBlockRender' requirements: - _permission: 'access content' + _access: TRUE diff --git a/core/modules/system/tests/modules/url_alter_test/url_alter_test.routing.yml b/core/modules/system/tests/modules/url_alter_test/url_alter_test.routing.yml index a92ebf6..87ab0dd 100644 --- a/core/modules/system/tests/modules/url_alter_test/url_alter_test.routing.yml +++ b/core/modules/system/tests/modules/url_alter_test/url_alter_test.routing.yml @@ -3,4 +3,4 @@ url_alter_test.foo: defaults: _content: '\Drupal\url_alter_test\Controller\URLAlterTestController::foo' requirements: - _permission: 'access content' + _access: TRUE diff --git a/core/profiles/testing/testing.info.yml b/core/profiles/testing/testing.info.yml index d1076e6..b905706 100644 --- a/core/profiles/testing/testing.info.yml +++ b/core/profiles/testing/testing.info.yml @@ -4,5 +4,3 @@ description: 'Minimal profile for running tests. Includes absolutely required mo version: VERSION core: 8.x hidden: true -dependencies: - - node diff --git a/core/profiles/testing/testing.install b/core/profiles/testing/testing.install deleted file mode 100644 index 7575d22..0000000 --- a/core/profiles/testing/testing.install +++ /dev/null @@ -1,19 +0,0 @@ -