core/modules/aggregator/lib/Drupal/aggregator/Tests/AggregatorCronTest.php: $key = \Drupal::state()->get('system.cron_key'); core/modules/aggregator/lib/Drupal/aggregator/Tests/AggregatorTestBase.php: $feed_count = db_query_range('SELECT COUNT(DISTINCT nid) FROM {node_field_data} n WHERE n.promote = 1 AND n.status = 1', 0, \Drupal::config('system.rss')->get('items.limit'))->fetchField(); core/modules/aggregator/lib/Drupal/aggregator/Tests/AggregatorTestBase.php: \Drupal::config('aggregator.settings') core/modules/aggregator/lib/Drupal/aggregator/Tests/FeedParserTest.php: \Drupal::config('aggregator.settings')->set('items.expire', AGGREGATOR_CLEAR_NEVER)->save(); core/modules/ban/lib/Drupal/ban/Tests/IpAddressBlockingTest.php: // $edit['ip'] = \Drupal::request()->getClientIP(); core/modules/block/lib/Drupal/block/Tests/BlockCacheTest.php: \Drupal::state()->set('block_test.content', $current_content); core/modules/block/lib/Drupal/block/Tests/BlockCacheTest.php: \Drupal::state()->set('block_test.content', $current_content); core/modules/block/lib/Drupal/block/Tests/BlockCacheTest.php: \Drupal::state()->set('block_test.content', $current_content); core/modules/block/lib/Drupal/block/Tests/BlockCacheTest.php: \Drupal::state()->set('block_test.content', $current_content); core/modules/block/lib/Drupal/block/Tests/BlockCacheTest.php: \Drupal::state()->set('block_test.content', $current_content); core/modules/block/lib/Drupal/block/Tests/BlockCacheTest.php: \Drupal::state()->set('block_test.content', $current_content); core/modules/block/lib/Drupal/block/Tests/BlockCacheTest.php: \Drupal::state()->set('block_test.content', $current_content); core/modules/block/lib/Drupal/block/Tests/BlockCacheTest.php: \Drupal::state()->set('block_test.content', $current_content); core/modules/block/lib/Drupal/block/Tests/BlockCacheTest.php: \Drupal::state()->set('block_test.content', $current_content); core/modules/block/lib/Drupal/block/Tests/BlockCacheTest.php: \Drupal::state()->set('block_test.content', $current_content); core/modules/block/lib/Drupal/block/Tests/BlockCacheTest.php: \Drupal::state()->set('block_test.content', $current_content); core/modules/block/lib/Drupal/block/Tests/BlockHiddenRegionTest.php: \Drupal::config('system.theme') core/modules/block/lib/Drupal/block/Tests/BlockHiddenRegionTest.php: \Drupal::service('router.builder')->rebuild(); core/modules/block/lib/Drupal/block/Tests/BlockHtmlIdTest.php: \Drupal::state()->set('block_test.content', $current_content); core/modules/block/lib/Drupal/block/Tests/BlockLanguageTest.php: $default_theme = \Drupal::config('system.theme')->get('default'); core/modules/block/lib/Drupal/block/Tests/BlockStorageUnitTest.php: $actual_properties = \Drupal::config('block.block.stark.test_block')->get(); core/modules/block/lib/Drupal/block/Tests/BlockTemplateSuggestionsUnitTest.php: 'id' => \Drupal::config('system.theme')->get('default') . '.machinename', core/modules/block/lib/Drupal/block/Tests/BlockTest.php: $default_theme = \Drupal::config('system.theme')->get('default'); core/modules/block/lib/Drupal/block/Tests/BlockTest.php: $default_theme = \Drupal::config('system.theme')->get('default'); core/modules/block/lib/Drupal/block/Tests/BlockTest.php: $block['theme'] = \Drupal::config('system.theme')->get('default'); core/modules/block/lib/Drupal/block/Tests/BlockTest.php: $block += array('theme' => \Drupal::config('system.theme')->get('default')); core/modules/block/lib/Drupal/block/Tests/BlockTest.php: $block['theme'] = \Drupal::config('system.theme')->get('default'); core/modules/block/lib/Drupal/block/Tests/BlockTest.php: $this->drupalGet('admin/structure/block/list/' . \Drupal::config('system.theme')->get('default')); core/modules/block/lib/Drupal/block/Tests/BlockTestBase.php: \Drupal::config('system.site')->set('page.front', 'test-page')->save(); core/modules/block/lib/Drupal/block/Tests/BlockTestBase.php: \Drupal::config($plugin_id)->delete(); core/modules/block/lib/Drupal/block/Tests/BlockTitleXSSTest.php: \Drupal::state()->set('block_test.content', $this->randomName()); core/modules/block/lib/Drupal/block/Tests/BlockTitleXSSTest.php: $default_theme = \Drupal::config('system.theme')->get('default'); core/modules/block/lib/Drupal/block/Tests/NewDefaultThemeBlocksTest.php: $default_theme = \Drupal::config('system.theme')->get('default'); core/modules/block/lib/Drupal/block/Tests/NewDefaultThemeBlocksTest.php: \Drupal::config('system.theme') core/modules/block/lib/Drupal/block/Tests/Views/DisplayBlockTest.php: $default_theme = \Drupal::config('system.theme')->get('default'); core/modules/book/lib/Drupal/book/Tests/BookTest.php: $current_config = \Drupal::config('book.settings')->init()->get(); core/modules/book/lib/Drupal/book/Tests/BookTest.php: $this->assertIdentical($current_config, \Drupal::config('book.settings')->init()->get()); core/modules/book/lib/Drupal/book/Tests/BookTest.php: $current_config = \Drupal::config('book.settings')->init()->get(); core/modules/book/lib/Drupal/book/Tests/BookTest.php: $this->assertIdentical($current_config, \Drupal::config('book.settings')->init()->get()); core/modules/book/lib/Drupal/book/Tests/BookTest.php: $current_config = \Drupal::config('book.settings')->init()->get(); core/modules/book/lib/Drupal/book/Tests/BookTest.php: $this->assertIdentical($current_config, \Drupal::config('book.settings')->init()->get()); core/modules/book/lib/Drupal/book/Tests/BookTest.php: $this->assertEqual(\Drupal::config('book.settings')->get('child_type'), 'zebra'); core/modules/color/lib/Drupal/color/Tests/ColorTest.php: \Drupal::config('system.theme') core/modules/color/lib/Drupal/color/Tests/ColorTest.php: $stylesheets = \Drupal::config('color.' . $theme)->get('stylesheets'); core/modules/color/lib/Drupal/color/Tests/ColorTest.php: $stylesheets = \Drupal::config('color.' . $theme)->get('stylesheets'); core/modules/color/lib/Drupal/color/Tests/ColorTest.php: $config = \Drupal::config('system.performance'); core/modules/color/lib/Drupal/color/Tests/ColorTest.php: $stylesheets = \Drupal::state()->get('drupal_css_cache_files') ?: array(); core/modules/color/lib/Drupal/color/Tests/ColorTest.php: \Drupal::config('system.theme') core/modules/comment/lib/Drupal/comment/Tests/CommentLanguageTest.php: \Drupal::state()->set('language_test.content_language_type', TRUE); core/modules/comment/lib/Drupal/comment/Tests/CommentLinksTest.php: \Drupal::config('system.theme') core/modules/comment/lib/Drupal/comment/Tests/CommentLinksTest.php: \Drupal::config('user.settings')->set('register', $info['user_register'])->save(); core/modules/comment/lib/Drupal/comment/Tests/CommentPreviewTest.php: \Drupal::config('user.settings')->set('signatures', 1)->save(); core/modules/comment/lib/Drupal/comment/Tests/CommentTokenReplaceTest.php: $token_service = \Drupal::token(); core/modules/config/lib/Drupal/config/Tests/ConfigCRUDTest.php: $config = \Drupal::config($name); core/modules/config/lib/Drupal/config/Tests/ConfigCRUDTest.php: // Verify a call to \Drupal::config() immediately returns the updated value. core/modules/config/lib/Drupal/config/Tests/ConfigCRUDTest.php: $new_config = \Drupal::config($name); core/modules/config/lib/Drupal/config/Tests/ConfigCRUDTest.php: // Verify \Drupal::config() returns no data. core/modules/config/lib/Drupal/config/Tests/ConfigCRUDTest.php: $new_config = \Drupal::config($name); core/modules/config/lib/Drupal/config/Tests/ConfigCRUDTest.php: // Verify a call to \Drupal::config() immediately returns the updated value. core/modules/config/lib/Drupal/config/Tests/ConfigCRUDTest.php: $new_config = \Drupal::config($name); core/modules/config/lib/Drupal/config/Tests/ConfigCRUDTest.php: $renamed_config = \Drupal::config($new_name); core/modules/config/lib/Drupal/config/Tests/ConfigCRUDTest.php: $config = \Drupal::config($name); core/modules/config/lib/Drupal/config/Tests/ConfigCRUDTest.php: $config = \Drupal::config($name); core/modules/config/lib/Drupal/config/Tests/ConfigCRUDTest.php: $renamed_config = \Drupal::config($new_name); core/modules/config/lib/Drupal/config/Tests/ConfigCRUDTest.php: $new_config = \Drupal::config($new_name); core/modules/config/lib/Drupal/config/Tests/ConfigCRUDTest.php: \Drupal::config($name)->save(); core/modules/config/lib/Drupal/config/Tests/ConfigCRUDTest.php: \Drupal::config($name)->save(); core/modules/config/lib/Drupal/config/Tests/ConfigCRUDTest.php: $config = \Drupal::config($name); core/modules/config/lib/Drupal/config/Tests/ConfigCRUDTest.php: $config = \Drupal::config($name); core/modules/config/lib/Drupal/config/Tests/ConfigEntityListTest.php: $this->assertTrue(\Drupal::state()->get('config_entity_sort'), 'ConfigTest::sort() was called.'); core/modules/config/lib/Drupal/config/Tests/ConfigEntityTest.php: \Drupal::state()->set('config_test.prepopulate', TRUE); core/modules/config/lib/Drupal/config/Tests/ConfigFileContentTest.php: $config = \Drupal::config($name); core/modules/config/lib/Drupal/config/Tests/ConfigFileContentTest.php: $config = \Drupal::config($name); core/modules/config/lib/Drupal/config/Tests/ConfigFileContentTest.php: $config = \Drupal::config($name); core/modules/config/lib/Drupal/config/Tests/ConfigFileContentTest.php: $config = \Drupal::config($name); core/modules/config/lib/Drupal/config/Tests/ConfigFileContentTest.php: $config = \Drupal::config('foo.baz'); core/modules/config/lib/Drupal/config/Tests/ConfigFileContentTest.php: $config = \Drupal::config($chained_name); core/modules/config/lib/Drupal/config/Tests/ConfigFileContentTest.php: $config = \Drupal::config($name); core/modules/config/lib/Drupal/config/Tests/ConfigImportUITest.php: $this->assertIdentical($new_site_name, \Drupal::config('system.site')->get('name')); core/modules/config/lib/Drupal/config/Tests/ConfigImportUITest.php: $this->assertIdentical($original_dynamic_data, \Drupal::config($dynamic_name)->get()); core/modules/config/lib/Drupal/config/Tests/ConfigImportUITest.php: $this->assertNotEqual($new_site_name, \Drupal::config('system.site')->get('name')); core/modules/config/lib/Drupal/config/Tests/ConfigImportUITest.php: $config_data = \Drupal::config('system.site')->get(); core/modules/config/lib/Drupal/config/Tests/ConfigImporterTest.php: $config = \Drupal::config($dynamic_name); core/modules/config/lib/Drupal/config/Tests/ConfigImporterTest.php: // Verify that a bare \Drupal::config() does not involve module APIs. core/modules/config/lib/Drupal/config/Tests/ConfigImporterTest.php: $config = \Drupal::config($dynamic_name); core/modules/config/lib/Drupal/config/Tests/ConfigImporterTest.php: $config = \Drupal::config($dynamic_name); core/modules/config/lib/Drupal/config/Tests/ConfigImporterTest.php: $config = \Drupal::config($dynamic_name); core/modules/config/lib/Drupal/config/Tests/ConfigImporterTest.php: $config = \Drupal::config($name); core/modules/config/lib/Drupal/config/Tests/ConfigImporterTest.php: $config = \Drupal::config($dynamic_name); core/modules/config/lib/Drupal/config/Tests/ConfigImporterTest.php: $config = \Drupal::config($name); core/modules/config/lib/Drupal/config/Tests/ConfigImporterTest.php: $config = \Drupal::config($dynamic_name); core/modules/config/lib/Drupal/config/Tests/ConfigInstallTest.php: $config = \Drupal::config($default_config); core/modules/config/lib/Drupal/config/Tests/ConfigInstallTest.php: $config = \Drupal::config($default_configuration_entity); core/modules/config/lib/Drupal/config/Tests/ConfigInstallTest.php: $config = \Drupal::config($default_config); core/modules/config/lib/Drupal/config/Tests/ConfigInstallTest.php: $config = \Drupal::config($default_configuration_entity); core/modules/config/lib/Drupal/config/Tests/ConfigInstallWebTest.php: $config_static = \Drupal::config($default_config); core/modules/config/lib/Drupal/config/Tests/ConfigInstallWebTest.php: $config_entity = \Drupal::config($default_configuration_entity); core/modules/config/lib/Drupal/config/Tests/ConfigInstallWebTest.php: $config_static = \Drupal::config($default_config); core/modules/config/lib/Drupal/config/Tests/ConfigInstallWebTest.php: $config_entity = \Drupal::config($default_configuration_entity); core/modules/config/lib/Drupal/config/Tests/ConfigInstallWebTest.php: // object in memory. Every new call to \Drupal::config() MUST revert in-memory changes core/modules/config/lib/Drupal/config/Tests/ConfigInstallWebTest.php: $config_static = \Drupal::config($default_config); core/modules/config/lib/Drupal/config/Tests/ConfigInstallWebTest.php: $config_entity = \Drupal::config($default_configuration_entity); core/modules/config/lib/Drupal/config/Tests/ConfigInstallWebTest.php: $config_static = \Drupal::config($default_config); core/modules/config/lib/Drupal/config/Tests/ConfigInstallWebTest.php: $config_entity = \Drupal::config($default_configuration_entity); core/modules/config/lib/Drupal/config/Tests/ConfigInstallWebTest.php: $config_static = \Drupal::config($default_config); core/modules/config/lib/Drupal/config/Tests/ConfigInstallWebTest.php: $config_entity = \Drupal::config($default_configuration_entity); core/modules/config/lib/Drupal/config/Tests/ConfigLocaleOverride.php: $config = \Drupal::config($name); core/modules/config/lib/Drupal/config/Tests/ConfigLocaleOverride.php: $config_admin = \Drupal::config($name); core/modules/config/lib/Drupal/config/Tests/ConfigLocaleOverride.php: $config = \Drupal::config($name); core/modules/config/lib/Drupal/config/Tests/ConfigLocaleOverride.php: $config = \Drupal::config('config_test.system'); core/modules/config/lib/Drupal/config/Tests/ConfigLocaleOverride.php: $config = \Drupal::config('config_test.system'); core/modules/config/lib/Drupal/config/Tests/ConfigLocaleOverride.php: $config_factory = \Drupal::service('config.factory'); core/modules/config/lib/Drupal/config/Tests/ConfigLocaleOverride.php: $config = \Drupal::config('config_test.system'); core/modules/config/lib/Drupal/config/Tests/ConfigLocaleOverride.php: $config = \Drupal::config('config_test.system'); core/modules/config/lib/Drupal/config/Tests/ConfigLocaleOverride.php: $config = \Drupal::config('config_test.system'); core/modules/config/lib/Drupal/config/Tests/ConfigLocaleOverride.php: $config = \Drupal::config('config_test.system'); core/modules/config/lib/Drupal/config/Tests/ConfigLocaleOverride.php: $config = \Drupal::config('config_test.system'); core/modules/config/lib/Drupal/config/Tests/ConfigLocaleOverride.php: $config = \Drupal::config('config_test.system'); core/modules/config/lib/Drupal/config/Tests/ConfigLocaleOverride.php: $config = \Drupal::config('config_test.system'); core/modules/config/lib/Drupal/config/Tests/ConfigLocaleOverride.php: $config_factory = \Drupal::service('config.factory'); core/modules/config/lib/Drupal/config/Tests/ConfigLocaleOverride.php: $config = \Drupal::config('config_test.system'); core/modules/config/lib/Drupal/config/Tests/ConfigLocaleOverride.php: $config = \Drupal::config('config_test.system'); core/modules/config/lib/Drupal/config/Tests/ConfigLocaleOverride.php: $config = \Drupal::config('config_test.system'); core/modules/config/lib/Drupal/config/Tests/ConfigLocaleOverride.php: $config = \Drupal::config('config_test.system'); core/modules/config/lib/Drupal/config/Tests/ConfigLocaleOverride.php: $config = \Drupal::config('config_test.system'); core/modules/config/lib/Drupal/config/Tests/ConfigLocaleOverride.php: $config = \Drupal::config('config_test.system'); core/modules/config/lib/Drupal/config/Tests/ConfigLocaleOverride.php: $config = \Drupal::config('config_test.system'); core/modules/config/lib/Drupal/config/Tests/ConfigLocaleOverride.php: $config = \Drupal::config('config_test.system'); core/modules/config/lib/Drupal/config/Tests/ConfigLocaleOverride.php: $config_admin = \Drupal::config('config_test.system'); core/modules/config/lib/Drupal/config/Tests/ConfigLocaleOverrideWebTest.php: \Drupal::config('locale.config.xx.system.site')->set('name', 'XX site name')->save(); core/modules/config/lib/Drupal/config/Tests/ConfigOverrideTest.php: $config = \Drupal::config('config_test.system'); core/modules/config/lib/Drupal/config/Tests/ConfigOverrideTest.php: $config = \Drupal::config('config_test.system'); core/modules/config/lib/Drupal/config/Tests/ConfigOverrideTest.php: $config = \Drupal::config('config_test.system'); core/modules/config/lib/Drupal/config/Tests/ConfigOverrideTest.php: $config = \Drupal::config('config_test.system'); core/modules/config/lib/Drupal/config/Tests/ConfigOverrideTest.php: $config = \Drupal::config('config_test.system'); core/modules/config/lib/Drupal/config/Tests/ConfigSnapshotTest.php: $staging_data = \Drupal::config($config_name)->get(); core/modules/config/lib/Drupal/config/Tests/ConfigSnapshotTest.php: $this->assertIdentical(\Drupal::config($config_name)->get($config_key), $new_data); core/modules/config/lib/Drupal/config/Tests/ConfigUpgradeTest.php: $config = \Drupal::config('config_upgrade.test'); core/modules/config/lib/Drupal/config/Tests/ConfigUpgradeTest.php: $config = \Drupal::config('config_upgrade.test'); core/modules/config/lib/Drupal/config/Tests/ConfigUpgradeTest.php: \Drupal::config('config_upgrade.test') core/modules/config/lib/Drupal/config/Tests/ConfigUpgradeTest.php: $this->assertIdentical(\Drupal::config('config_upgrade.test')->get('numeric_keys'), array(403 => 'custom403', 404 => 'custom404')); core/modules/config/lib/Drupal/config/Tests/Storage/FileStorageTest.php: $this->storage->write('system.performance', \Drupal::config('system.performance')->get()); core/modules/contact/lib/Drupal/contact/Tests/ContactPersonalTest.php: \Drupal::config('contact.settings')->set('user_default_enabled', 1)->save(); core/modules/contact/lib/Drupal/contact/Tests/ContactPersonalTest.php: '!site-name' => \Drupal::config('system.site')->get('name'), core/modules/contact/lib/Drupal/contact/Tests/ContactPersonalTest.php: $this->assertFalse(\Drupal::service('user.data')->get('contact', $this->web_user->id(), 'enabled'), 'Personal contact form disabled'); core/modules/contact/lib/Drupal/contact/Tests/ContactPersonalTest.php: $this->assertTrue(\Drupal::service('user.data')->get('contact', $this->web_user->id(), 'enabled'), 'Personal contact form enabled'); core/modules/contact/lib/Drupal/contact/Tests/ContactPersonalTest.php: \Drupal::config('contact.settings')->set('flood.limit', $flood_limit)->save(); core/modules/contact/lib/Drupal/contact/Tests/ContactPersonalTest.php: $this->assertRaw(t('You cannot send more than %number messages in @interval. Try again later.', array('%number' => $flood_limit, '@interval' => format_interval(\Drupal::config('contact.settings')->get('flood.interval')))), 'Normal user denied access to flooded contact form.'); core/modules/contact/lib/Drupal/contact/Tests/ContactSitewideTest.php: \Drupal::config('contact.settings') core/modules/contact/lib/Drupal/contact/Tests/ContactSitewideTest.php: $langcode = \Drupal::config('contact.category.' . $id)->get('langcode'); core/modules/contact/lib/Drupal/contact/Tests/ContactSitewideTest.php: $config = \Drupal::config('contact.category.' . $id)->get(); core/modules/contact/lib/Drupal/contact/Tests/ContactSitewideTest.php: $this->assertNotEqual($id, \Drupal::config('contact.settings')->get('default_category')); core/modules/contact/lib/Drupal/contact/Tests/ContactSitewideTest.php: \Drupal::config('contact.settings')->set('default_category', $id)->save(); core/modules/contact/lib/Drupal/contact/Tests/ContactSitewideTest.php: \Drupal::config('contact.settings') core/modules/contact/lib/Drupal/contact/Tests/ContactSitewideTest.php: $this->assertRaw(t('You cannot send more than %number messages in @interval. Try again later.', array('%number' => \Drupal::config('contact.settings')->get('flood.limit'), '@interval' => format_interval(600)))); core/modules/contact/lib/Drupal/contact/Tests/ContactSitewideTest.php: if ($id == \Drupal::config('contact.settings')->get('default_category')) { core/modules/contact/lib/Drupal/contact/Tests/ContactUpgradePathTest.php: $this->assertEqual(\Drupal::config('contact.settings')->get('default_category'), $default_contact_category, 'Default category upgraded.'); core/modules/dblog/lib/Drupal/dblog/Tests/DbLogTest.php: $current_limit = \Drupal::config('dblog.settings')->get('row_limit'); core/modules/editor/lib/Drupal/editor/Tests/EditorManagerTest.php: \Drupal::state()->set('editor_test_js_settings_alter_enabled', TRUE); core/modules/entity/lib/Drupal/entity/Tests/EntityDisplayTest.php: $field_type_info = \Drupal::service('plugin.manager.entity.field.field_type')->getDefinition($field->type); core/modules/entity/lib/Drupal/entity/Tests/EntityDisplayTest.php: $formatter_settings = \Drupal::service('plugin.manager.field.formatter')->getDefinition($default_formatter); core/modules/entity/lib/Drupal/entity/Tests/EntityFormDisplayTest.php: $field_type_info = \Drupal::service('plugin.manager.entity.field.field_type')->getDefinition($field->type); core/modules/entity/lib/Drupal/entity/Tests/EntityFormDisplayTest.php: $widget_settings = \Drupal::service('plugin.manager.field.widget')->getDefinition($default_widget); core/modules/entity_reference/lib/Drupal/entity_reference/Tests/EntityReferenceAutoCreateTest.php: $base_query = \Drupal::entityQuery('node'); core/modules/entity_reference/lib/Drupal/entity_reference/Tests/EntityReferenceAutoCreateTest.php: $result = \Drupal::entityQuery('node') core/modules/entity_reference/lib/Drupal/entity_reference/Tests/EntityReferenceSelectionAccessTest.php: $handler = \Drupal::service('plugin.manager.entity_reference.selection')->getSelectionHandler($field_definition); core/modules/entity_reference/lib/Drupal/entity_reference/Tests/EntityReferenceSelectionAccessTest.php: $user_values['anonymous']->name = \Drupal::config('user.settings')->get('anonymous'); core/modules/field/lib/Drupal/field/Tests/BulkDeleteTest.php: $factory = \Drupal::service('entity.query'); core/modules/field/lib/Drupal/field/Tests/BulkDeleteTest.php: $found = \Drupal::entityQuery('entity_test') core/modules/field/lib/Drupal/field/Tests/CrudTest.php: $field_config = \Drupal::config('field.field.' . $field->id())->get(); core/modules/field/lib/Drupal/field/Tests/CrudTest.php: $field_type = \Drupal::service('plugin.manager.entity.field.field_type')->getDefinition($field_definition['type']); core/modules/field/lib/Drupal/field/Tests/CrudTest.php: $this->assertEqual($field_config['storage']['type'], \Drupal::config('field.settings')->get('default_storage'), 'The field type is properly saved.'); core/modules/field/lib/Drupal/field/Tests/DisplayApiTest.php: $settings = \Drupal::service('plugin.manager.field.formatter')->getDefaultSettings('field_test_default'); core/modules/field/lib/Drupal/field/Tests/DisplayApiTest.php: $settings = \Drupal::service('plugin.manager.field.formatter')->getDefaultSettings('field_test_default'); core/modules/field/lib/Drupal/field/Tests/FieldImportDeleteTest.php: $deleted_fields = \Drupal::state()->get('field.field.deleted') ?: array(); core/modules/field/lib/Drupal/field/Tests/FieldImportDeleteTest.php: $deleted_fields = \Drupal::state()->get('field.field.deleted') ?: array(); core/modules/field/lib/Drupal/field/Tests/FieldInfoTest.php: $info = \Drupal::service('plugin.manager.entity.field.field_type')->getDefinitions(); core/modules/field/lib/Drupal/field/Tests/FieldInfoTest.php: \Drupal::config('field.field.' . $field->id()) core/modules/field/lib/Drupal/field/Tests/FieldInfoTest.php: $field_type = \Drupal::service('plugin.manager.entity.field.field_type')->getDefinition($field_definition['type']); core/modules/field/lib/Drupal/field/Tests/FieldInfoTest.php: \Drupal::config('field.instance.' . $instance->id()) core/modules/field/lib/Drupal/field/Tests/FieldInfoTest.php: $field_type = \Drupal::service('plugin.manager.entity.field.field_type')->getDefinition($field_definition['type']); core/modules/field/lib/Drupal/field/Tests/FieldInfoTest.php: $field_type_manager = \Drupal::service('plugin.manager.entity.field.field_type'); core/modules/field/lib/Drupal/field/Tests/FieldInfoTest.php: \Drupal::state()->set('field_test.clear_info_cache_in_hook_entity_info', TRUE); core/modules/field/lib/Drupal/field/Tests/FieldInfoTest.php: $widget_definition = \Drupal::service('plugin.manager.field.widget')->getDefinition('test_field_widget_multiple'); core/modules/field/lib/Drupal/field/Tests/FieldInstanceCrudTest.php: $config = \Drupal::config('field.instance.' . $instance->id())->get(); core/modules/field/lib/Drupal/field/Tests/FieldInstanceCrudTest.php: $field_type = \Drupal::service('plugin.manager.entity.field.field_type')->getDefinition($this->field_definition['type']); core/modules/field/lib/Drupal/field/Tests/FieldInstanceCrudTest.php: $deleted_fields = \Drupal::state()->get('field.field.deleted'); core/modules/field/lib/Drupal/field/Tests/FormTest.php: $token_description = check_plain(\Drupal::config('system.site')->get('name')) . '_description'; core/modules/field/lib/Drupal/field/Tests/TranslationTest.php: \Drupal::state()->set('field_test.field_available_languages_alter', TRUE); core/modules/field/lib/Drupal/field/Tests/TranslationTest.php: \Drupal::state()->set('field_test.language_fallback', FALSE); core/modules/field_ui/lib/Drupal/field_ui/Tests/ManageDisplayTest.php: $default_settings = \Drupal::service('plugin.manager.field.formatter')->getDefaultSettings($format); core/modules/field_ui/lib/Drupal/field_ui/Tests/ManageDisplayTest.php: $default_settings = \Drupal::service('plugin.manager.field.formatter')->getDefaultSettings($format); core/modules/field_ui/lib/Drupal/field_ui/Tests/ManageDisplayTest.php: $default_settings = \Drupal::service('plugin.manager.field.widget')->getDefaultSettings($widget_type); core/modules/field_ui/lib/Drupal/field_ui/Tests/ManageDisplayTest.php: $default_settings = \Drupal::service('plugin.manager.field.widget')->getDefaultSettings($widget_type); core/modules/field_ui/lib/Drupal/field_ui/Tests/ManageDisplayTest.php: $formatters = \Drupal::service('plugin.manager.field.formatter')->getDefinitions(); core/modules/field_ui/lib/Drupal/field_ui/Tests/ManageFieldsTest.php: \Drupal::config('field_ui.settings')->set('field_prefix', $field_prefix)->save(); core/modules/file/lib/Drupal/file/Tests/FileFieldPathTest.php: $subdirectory = \Drupal::token()->replace('[user:uid]/[user:name]', $data); core/modules/file/lib/Drupal/file/Tests/FilePrivateTest.php: \Drupal::state()->set('node_access_test.private', TRUE); core/modules/file/lib/Drupal/file/Tests/FileTokenReplaceTest.php: $token_service = \Drupal::token(); core/modules/file/lib/Drupal/file/Tests/RemoteFileSaveUploadTest.php: \Drupal::config('system.file')->set('default_scheme', 'dummy-remote')->save(); core/modules/file/lib/Drupal/file/Tests/SaveUploadTest.php: $config = \Drupal::config('system.file'); core/modules/file/lib/Drupal/file/Tests/SaveUploadTest.php: \Drupal::config('system.file')->set('allow_insecure_uploads', 0)->save(); core/modules/filter/lib/Drupal/filter/Tests/FilterAdminTest.php: \Drupal::config('filter.settings') core/modules/filter/lib/Drupal/filter/Tests/FilterAdminTest.php: \Drupal::config('filter.settings') core/modules/filter/lib/Drupal/filter/Tests/FilterUnitTest.php: // $protocols = \Drupal::config('system.filter')->get('protocols')... (approx line 1555). core/modules/forum/lib/Drupal/forum/Tests/ForumNodeAccessTest.php: \Drupal::state()->set('node_access_test.private', TRUE); core/modules/forum/lib/Drupal/forum/Tests/ForumTest.php: $vid = \Drupal::config('forum.settings')->get('vocabulary'); core/modules/forum/lib/Drupal/forum/Tests/ForumTest.php: $tids = \Drupal::entityQuery('taxonomy_term') core/modules/forum/lib/Drupal/forum/Tests/ForumTest.php: $vid = \Drupal::config('forum.settings')->get('vocabulary'); core/modules/forum/lib/Drupal/forum/Tests/ForumTest.php: $term = db_query("SELECT * FROM {taxonomy_term_data} t WHERE t.vid = :vid AND t.name = :name AND t.description = :desc", array(':vid' => \Drupal::config('forum.settings')->get('vocabulary'), ':name' => $name, ':desc' => $description))->fetchAssoc(); core/modules/forum/lib/Drupal/forum/Tests/ForumTest.php: $containers = \Drupal::config('forum.settings')->get('containers'); core/modules/help/lib/Drupal/help/Tests/HelpTest.php: foreach (\Drupal::moduleHandler()->getImplementations('help') as $module) { core/modules/image/lib/Drupal/image/Tests/ImageStylesPathAndUrlTest.php: \Drupal::config('system.file')->set('default_scheme', 'temporary')->save(); core/modules/image/lib/Drupal/image/Tests/ImageStylesPathAndUrlTest.php: \Drupal::state()->set('image.test_file_download', $original_uri); core/modules/image/lib/Drupal/image/Tests/ImageStylesPathAndUrlTest.php: \Drupal::state()->delete('image.test_file_download'); core/modules/image/lib/Drupal/image/Tests/ImageStylesPathAndUrlTest.php: \Drupal::config('image.settings')->set('allow_insecure_derivatives', TRUE)->save(); core/modules/image/lib/Drupal/image/Tests/ImageStylesPathAndUrlTest.php: \Drupal::state()->set('image.test_file_download', $original_uri); core/modules/image/lib/Drupal/image/Tests/ImageStylesPathAndUrlTest.php: \Drupal::config('image.settings')->set('suppress_itok_output', TRUE)->save(); core/modules/language/lib/Drupal/language/Tests/LanguageNegotiationInfoTest.php: \Drupal::state()->set('language_test.language_types', TRUE); core/modules/language/lib/Drupal/language/Tests/LanguageNegotiationInfoTest.php: \Drupal::state()->set('language_test.language_negotiation_info', TRUE); core/modules/language/lib/Drupal/language/Tests/LanguageNegotiationInfoTest.php: \Drupal::state()->set('language_test.content_language_type', TRUE); core/modules/language/lib/Drupal/language/Tests/LanguageNegotiationInfoTest.php: \Drupal::state()->set('language_test.language_negotiation_info_alter', TRUE); core/modules/language/lib/Drupal/language/Tests/LanguageNegotiationInfoTest.php: $last = \Drupal::state()->get('language_test.language_negotiation_last'); core/modules/language/lib/Drupal/language/Tests/LanguageUILanguageNegotiationTest.php: \Drupal::config('language.negotiation')->set('selected_langcode', NULL)->save(); core/modules/language/lib/Drupal/language/Tests/LanguageUILanguageNegotiationTest.php: \Drupal::config('language.negotiation')->set('selected_langcode', $langcode_unknown)->save(); core/modules/language/lib/Drupal/language/Tests/LanguageUILanguageNegotiationTest.php: \Drupal::config('language.negotiation') core/modules/language/lib/Drupal/language/Tests/LanguageUILanguageNegotiationTest.php: \Drupal::state()->set('language_test.domain', $test['language_test_domain']); core/modules/language/lib/Drupal/language/Tests/LanguageUrlRewritingTest.php: \Drupal::config('language.negotiation') core/modules/locale/lib/Drupal/locale/Tests/LocaleConfigTranslationTest.php: $this->assertEqual(\Drupal::config('locale.config.xx.image.style.medium')->get('label'), $image_style_label); core/modules/locale/lib/Drupal/locale/Tests/LocaleConfigTranslationTest.php: $this->assertFalse(\Drupal::config('locale.config.xx.image.style.medium')->get('label'), 'Translated configuration for image module removed.'); core/modules/locale/lib/Drupal/locale/Tests/LocaleImportFunctionalTest.php: $config = \Drupal::config('locale.settings'); core/modules/locale/lib/Drupal/locale/Tests/LocaleImportFunctionalTest.php: $locale_plurals = \Drupal::state()->get('locale.translation.plurals') ?: array(); core/modules/locale/lib/Drupal/locale/Tests/LocaleImportFunctionalTest.php: $locale_plurals = \Drupal::state()->get('locale.translation.plurals') ?: array(); core/modules/locale/lib/Drupal/locale/Tests/LocaleImportFunctionalTest.php: $locale_plurals = \Drupal::state()->get('locale.translation.plurals') ?: array(); core/modules/locale/lib/Drupal/locale/Tests/LocalePathTest.php: \Drupal::config('system.site')->set('page.front', 'node')->save(); core/modules/locale/lib/Drupal/locale/Tests/LocaleTranslationUiTest.php: $config = \Drupal::config('locale.settings'); core/modules/locale/lib/Drupal/locale/Tests/LocaleTranslationUiTest.php: $locale_javascripts = \Drupal::state()->get('locale.translation.javascript') ?: array(); core/modules/locale/lib/Drupal/locale/Tests/LocaleUninstallTest.php: $config = \Drupal::config('locale.settings'); core/modules/locale/lib/Drupal/locale/Tests/LocaleUninstallTest.php: $config = \Drupal::config('locale.settings'); core/modules/locale/lib/Drupal/locale/Tests/LocaleUninstallTest.php: \Drupal::config('system.language.types')->set('configurable', language_types_get_default() + array('language_custom' => TRUE))->save(); core/modules/locale/lib/Drupal/locale/Tests/LocaleUninstallTest.php: \Drupal::config('language.negotiation') core/modules/locale/lib/Drupal/locale/Tests/LocaleUninstallTest.php: $this->assertFalse(\Drupal::config('language.negotiation')->get('url.source'), 'URL language negotiation method indicator settings cleared.'); core/modules/locale/lib/Drupal/locale/Tests/LocaleUninstallTest.php: $this->assertFalse(\Drupal::config('language.negotiation')->get('session.parameter'), 'Visit language negotiation method settings cleared.'); core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateBase.php: \Drupal::config('locale.settings')->set('translation.path', $path)->save(); core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateBase.php: $config = \Drupal::config('locale.settings'); core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateBase.php: \Drupal::state()->set('locale.test_projects_alter', TRUE); core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateCronTest.php: \Drupal::state()->set('locale.test_projects_alter', TRUE); core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateCronTest.php: \Drupal::config('locale.settings')->set('translation.default_filename', '%project-%version.%language._po')->save(); core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateCronTest.php: $queue = \Drupal::queue('locale_translation', TRUE); core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateCronTest.php: $queue = \Drupal::queue('locale_translation', TRUE); core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateCronTest.php: $queue = \Drupal::queue('locale_translation', TRUE); core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateInterfaceTest.php: \Drupal::state()->set('locale.translation_status', $status); core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateInterfaceTest.php: \Drupal::state()->set('locale.translation_status', $status); core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateInterfaceTest.php: \Drupal::state()->set('locale.translation_status', $status); core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateTest.php: \Drupal::state()->set('locale.test_system_info_alter', TRUE); core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateTest.php: $config = \Drupal::config('locale.settings'); core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateTest.php: \Drupal::state()->set('locale.test_system_info_alter', TRUE); core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateTest.php: $config = \Drupal::config('locale.settings'); core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateTest.php: \Drupal::state()->set('locale.test_projects_alter', TRUE); core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateTest.php: $config = \Drupal::config('locale.settings'); core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateTest.php: $config = \Drupal::config('locale.settings'); core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateTest.php: $config = \Drupal::config('locale.settings'); core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateTest.php: $config = \Drupal::config('locale.settings'); core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateTest.php: \Drupal::state()->set('locale.test_system_info_alter', TRUE); core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateTest.php: \Drupal::state()->set('locale.test_system_info_alter', TRUE); core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateTest.php: \Drupal::state()->set('locale.test_system_info_alter', TRUE); core/modules/menu/lib/Drupal/menu/Tests/MenuTest.php: $this->drupalGet('admin/structure/block/list/' . \Drupal::config('system.theme')->get('default')); core/modules/menu/lib/Drupal/menu/Tests/MenuTest.php: $query = \Drupal::entityQuery('menu_link') core/modules/menu/lib/Drupal/menu/Tests/MenuWebTestBase.php: $item['link_path'] .= '?' . \Drupal::urlGenerator()->httpBuildQuery($options['query']); core/modules/node/lib/Drupal/node/Tests/NodeAccessBaseTableTest.php: \Drupal::state()->set('node_access_test.private', TRUE); core/modules/node/lib/Drupal/node/Tests/NodeAccessLanguageTest.php: \Drupal::state()->set('node_access_test.private', TRUE); core/modules/node/lib/Drupal/node/Tests/NodeAccessLanguageTest.php: \Drupal::state()->set('node_access_test_secret_catalan', 1); core/modules/node/lib/Drupal/node/Tests/NodeAccessPagerTest.php: $vid = \Drupal::config('forum.settings')->get('vocabulary'); core/modules/node/lib/Drupal/node/Tests/NodeCreationTest.php: \Drupal::config('system.site')->set('page.front', 'test-page')->save(); core/modules/node/lib/Drupal/node/Tests/NodeCreationTest.php: \Drupal::config('node.type.page')->set('settings.node.options', array())->save(); core/modules/node/lib/Drupal/node/Tests/NodeEntityViewModeAlterTest.php: \Drupal::state()->set('node_test_change_view_mode', 'teaser'); core/modules/node/lib/Drupal/node/Tests/NodeFormButtonsTest.php: \Drupal::config('node.type.article')->set('settings.node.options.status', 0)->save(); core/modules/node/lib/Drupal/node/Tests/NodeQueryAlterTest.php: \Drupal::state()->set('node_access_test.no_access_uid', $this->noAccessUser->id()); core/modules/node/lib/Drupal/node/Tests/NodeQueryAlterTest.php: \Drupal::state()->delete('node_access_test.no_access_uid'); core/modules/node/lib/Drupal/node/Tests/NodeTokenReplaceTest.php: $token_service = \Drupal::token(); core/modules/options/lib/Drupal/options/Tests/OptionsFieldTest.php: $form = \Drupal::entityManager()->getForm($entity); core/modules/options/lib/Drupal/options/Tests/OptionsFieldTest.php: $form = \Drupal::entityManager()->getForm($entity); core/modules/options/lib/Drupal/options/Tests/OptionsFieldTest.php: $form = \Drupal::entityManager()->getForm($entity); core/modules/options/lib/Drupal/options/Tests/OptionsFieldTest.php: $form = \Drupal::entityManager()->getForm($entity); core/modules/overlay/lib/Drupal/overlay/Tests/OverlaySettingTest.php: $this->assertFalse(\Drupal::service('user.data')->get('overlay', $user->id(), 'enabled'), 'Overlay disabled'); core/modules/rest/lib/Drupal/rest/Tests/RESTTestBase.php: $config = \Drupal::config('rest.settings'); core/modules/search/lib/Drupal/search/Tests/SearchEmbedFormTest.php: $this->submit_count = \Drupal::config('search_embedded_form.settings')->get('submitted'); core/modules/search/lib/Drupal/search/Tests/SearchEmbedFormTest.php: $count = \Drupal::config('search_embedded_form.settings')->get('submitted'); core/modules/search/lib/Drupal/search/Tests/SearchEmbedFormTest.php: $count = \Drupal::config('search_embedded_form.settings')->get('submitted'); core/modules/search/lib/Drupal/search/Tests/SearchEmbedFormTest.php: $count = \Drupal::config('search_embedded_form.settings')->get('submitted'); core/modules/search/lib/Drupal/search/Tests/SearchKeywordsConditionsTest.php: \Drupal::config('search.settings')->set('active_modules', array('node' => 'node', 'user' => 'user', 'search_extra_type' => 'search_extra_type'))->save(); core/modules/search/lib/Drupal/search/Tests/SearchMatchTest.php: \Drupal::config('search.settings')->set('index.minimum_word_size', 3)->save(); core/modules/search/lib/Drupal/search/Tests/SearchMultilingualEntityTest.php: \Drupal::config('search.settings')->set('index.cron_limit', 4)->save(); core/modules/search/lib/Drupal/search/Tests/SearchPageOverrideTest.php: \Drupal::config('search.settings')->set('active_modules', array('node' => 'node', 'user' => 'user', 'search_extra_type' => 'search_extra_type'))->save(); core/modules/search/lib/Drupal/search/Tests/SearchPageTextTest.php: $limit = \Drupal::config('search.settings')->get('and_or_limit'); core/modules/search/lib/Drupal/search/Tests/SearchRankingTest.php: \Drupal::config('statistics.settings')->set('count_content_views', 1)->save(); core/modules/search/lib/Drupal/search/Tests/SearchRankingTest.php: $client = \Drupal::httpClient(); core/modules/search/lib/Drupal/search/Tests/SearchTokenizerTest.php: \Drupal::config('search.settings') core/modules/search/lib/Drupal/search/Tests/SearchTokenizerTest.php: \Drupal::config('search.settings') core/modules/shortcut/lib/Drupal/shortcut/Tests/ShortcutLinksTest.php: \Drupal::config('system.theme')->set('admin', 'seven')->save(); core/modules/shortcut/lib/Drupal/shortcut/Tests/ShortcutLinksTest.php: \Drupal::config('system.theme') core/modules/simpletest/lib/Drupal/simpletest/Tests/DrupalUnitTestBaseTest.php: $this->assertIdentical(array_keys(\Drupal::moduleHandler()->getModuleList()), array($module)); core/modules/simpletest/lib/Drupal/simpletest/Tests/DrupalUnitTestBaseTest.php: $this->assertIdentical(\Drupal::moduleHandler()->getImplementations('permission'), array($module)); core/modules/simpletest/lib/Drupal/simpletest/Tests/DrupalUnitTestBaseTest.php: $list = array_keys(\Drupal::moduleHandler()->getModuleList()); core/modules/simpletest/lib/Drupal/simpletest/Tests/DrupalUnitTestBaseTest.php: $list = \Drupal::moduleHandler()->getImplementations('permission'); core/modules/simpletest/lib/Drupal/simpletest/Tests/DrupalUnitTestBaseTest.php: $this->assertFalse(in_array($module, $list), "{$module}_permission() in Drupal::moduleHandler()->getImplementations() not found."); core/modules/simpletest/lib/Drupal/simpletest/Tests/DrupalUnitTestBaseTest.php: $list = array_keys(\Drupal::moduleHandler()->getModuleList()); core/modules/simpletest/lib/Drupal/simpletest/Tests/DrupalUnitTestBaseTest.php: $list = \Drupal::moduleHandler()->getImplementations('permission'); core/modules/simpletest/lib/Drupal/simpletest/Tests/DrupalUnitTestBaseTest.php: $this->assertTrue(in_array($module, $list), "{$module}_permission() in Drupal::moduleHandler()->getImplementations() found."); core/modules/simpletest/lib/Drupal/simpletest/Tests/DrupalUnitTestBaseTest.php: $list = array_keys(\Drupal::moduleHandler()->getModuleList()); core/modules/simpletest/lib/Drupal/simpletest/Tests/DrupalUnitTestBaseTest.php: $list = \Drupal::moduleHandler()->getImplementations('permission'); core/modules/simpletest/lib/Drupal/simpletest/Tests/DrupalUnitTestBaseTest.php: $this->assertFalse(in_array($module, $list), "{$module}_permission() in Drupal::moduleHandler()->getImplementations() not found."); core/modules/simpletest/lib/Drupal/simpletest/Tests/DrupalUnitTestBaseTest.php: $list = array_keys(\Drupal::moduleHandler()->getModuleList()); core/modules/simpletest/lib/Drupal/simpletest/Tests/DrupalUnitTestBaseTest.php: $list = \Drupal::moduleHandler()->getImplementations('permission'); core/modules/simpletest/lib/Drupal/simpletest/Tests/DrupalUnitTestBaseTest.php: $this->assertTrue(in_array($module, $list), "{$module}_permission() in Drupal::moduleHandler()->getImplementations() found."); core/modules/simpletest/lib/Drupal/simpletest/Tests/DrupalUnitTestBaseTest.php: $query = \Drupal::entityQuery('node'); core/modules/simpletest/lib/Drupal/simpletest/Tests/DrupalUnitTestBaseTest.php: $this->assertTrue(\Drupal::config('user.settings')->get('register')); core/modules/simpletest/lib/Drupal/simpletest/Tests/SimpleTestTest.php: '@site-name' => \Drupal::config('system.site')->get('name'), core/modules/statistics/lib/Drupal/statistics/Tests/StatisticsAdminTest.php: $this->client = \Drupal::httpClient(); core/modules/statistics/lib/Drupal/statistics/Tests/StatisticsAdminTest.php: $config = \Drupal::config('statistics.settings'); core/modules/statistics/lib/Drupal/statistics/Tests/StatisticsAdminTest.php: $config = \Drupal::config('statistics.settings'); core/modules/statistics/lib/Drupal/statistics/Tests/StatisticsAdminTest.php: \Drupal::config('statistics.settings')->set('count_content_views', 1)->save(); core/modules/statistics/lib/Drupal/statistics/Tests/StatisticsAdminTest.php: \Drupal::config('statistics.settings') core/modules/statistics/lib/Drupal/statistics/Tests/StatisticsAdminTest.php: \Drupal::state()->set('statistics.day_timestamp', 8640000); core/modules/statistics/lib/Drupal/statistics/Tests/StatisticsLoggingTest.php: $config = \Drupal::config('system.performance'); core/modules/statistics/lib/Drupal/statistics/Tests/StatisticsLoggingTest.php: \Drupal::config('statistics.settings') core/modules/statistics/lib/Drupal/statistics/Tests/StatisticsLoggingTest.php: $this->client = \Drupal::httpClient(); core/modules/statistics/lib/Drupal/statistics/Tests/StatisticsReportsTest.php: $client = \Drupal::httpClient(); core/modules/statistics/lib/Drupal/statistics/Tests/StatisticsTestBase.php: \Drupal::config('statistics.settings') core/modules/statistics/lib/Drupal/statistics/Tests/StatisticsTokenReplaceTest.php: $client = \Drupal::httpClient(); core/modules/statistics/lib/Drupal/statistics/Tests/StatisticsTokenReplaceTest.php: $output = \Drupal::token()->replace($input, array('node' => $node), array('langcode' => $language_interface->id)); core/modules/statistics/lib/Drupal/statistics/Tests/Views/IntegrationTest.php: $client = \Drupal::httpClient(); core/modules/system/lib/Drupal/system/Tests/Ajax/FrameworkTest.php: \Drupal::config('system.theme') core/modules/system/lib/Drupal/system/Tests/Batch/PageTest.php: \Drupal::config('system.theme') core/modules/system/lib/Drupal/system/Tests/Batch/PageTest.php: \Drupal::config('system.theme')->set('admin', 'seven')->save(); core/modules/system/lib/Drupal/system/Tests/Bootstrap/PageCacheTest.php: \Drupal::config('system.site') core/modules/system/lib/Drupal/system/Tests/Bootstrap/PageCacheTest.php: $config = \Drupal::config('system.performance'); core/modules/system/lib/Drupal/system/Tests/Bootstrap/PageCacheTest.php: $url_generator = \Drupal::urlGenerator(); core/modules/system/lib/Drupal/system/Tests/Bootstrap/PageCacheTest.php: $config = \Drupal::config('system.performance'); core/modules/system/lib/Drupal/system/Tests/Bootstrap/PageCacheTest.php: $config = \Drupal::config('system.performance'); core/modules/system/lib/Drupal/system/Tests/Bootstrap/PageCacheTest.php: $config = \Drupal::config('system.performance'); core/modules/system/lib/Drupal/system/Tests/Bootstrap/PageCacheTest.php: $this->assertTitle(t('Test page | @site-name', array('@site-name' => \Drupal::config('system.site')->get('name'))), 'Site title matches.'); core/modules/system/lib/Drupal/system/Tests/Common/FormatDateTest.php: \Drupal::config('system.date') core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php: $config = \Drupal::config('system.performance'); core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php: $config = \Drupal::config('system.performance'); core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php: \Drupal::config('system.performance')->set('js.preprocess', 1)->save(); core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php: $config = \Drupal::config('system.performance'); core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php: \Drupal::config('system.performance')->set('js.preprocess', 1)->save(); core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php: $cache = array_keys(\Drupal::state()->get('system.js_cache_files') ?: array()); core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php: \Drupal::state()->delete('system.js_cache_files'); core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php: $cache = array_keys(\Drupal::state()->get('system.js_cache_files') ?: array()); core/modules/system/lib/Drupal/system/Tests/Common/RenderTest.php: \Drupal::config('system.logging')->set('error_level', ERROR_REPORTING_DISPLAY_ALL)->save(); core/modules/system/lib/Drupal/system/Tests/Common/UrlTest.php: * url() calls Drupal::moduleHandler()->getImplementations(), core/modules/system/lib/Drupal/system/Tests/Datetime/DrupalDateTimeTest.php: \Drupal::config('system.date') core/modules/system/lib/Drupal/system/Tests/Datetime/DrupalDateTimeTest.php: \Drupal::config('system.date')->set('timezone.default', 'Europe/Warsaw')->save(); core/modules/system/lib/Drupal/system/Tests/Datetime/DrupalDateTimeTest.php: \Drupal::config('system.date')->set('timezone.user.configurable', 1)->save(); core/modules/system/lib/Drupal/system/Tests/DrupalKernel/ServiceDestructionTest.php: $this->assertNull(\Drupal::state()->get('service_provider_test.destructed')); core/modules/system/lib/Drupal/system/Tests/DrupalKernel/ServiceDestructionTest.php: $this->assertTrue(\Drupal::state()->get('service_provider_test.destructed')); core/modules/system/lib/Drupal/system/Tests/DrupalKernel/ServiceDestructionTest.php: $this->assertNull(\Drupal::state()->get('service_provider_test.destructed')); core/modules/system/lib/Drupal/system/Tests/DrupalKernel/ServiceDestructionTest.php: $this->assertNull(\Drupal::state()->get('service_provider_test.destructed')); core/modules/system/lib/Drupal/system/Tests/Entity/EntityApiInfoTest.php: \Drupal::state()->set('entity_cache_test.label', 'New label.'); core/modules/system/lib/Drupal/system/Tests/Entity/EntityApiInfoTest.php: $info = \Drupal::state()->get('entity_cache_test'); core/modules/system/lib/Drupal/system/Tests/Entity/EntityCrudHookTest.php: $ids = \Drupal::entityQuery('entity_test')->condition('name', 'fail_insert')->execute(); core/modules/system/lib/Drupal/system/Tests/Entity/EntityCrudHookTest.php: $ids = \Drupal::entityQuery('entity_test')->condition('name', 'fail_insert')->execute(); core/modules/system/lib/Drupal/system/Tests/Entity/EntityFieldTest.php: $types = \Drupal::typedData()->getDefinitions(); core/modules/system/lib/Drupal/system/Tests/Entity/EntityFieldTest.php: $types = \Drupal::typedData()->getDefinitions(); core/modules/system/lib/Drupal/system/Tests/Entity/EntityFieldTest.php: $reference_field_item = \Drupal::TypedData()->create($definition); core/modules/system/lib/Drupal/system/Tests/Entity/EntityFieldTest.php: $reference_field_item = \Drupal::TypedData()->create($definition); core/modules/system/lib/Drupal/system/Tests/Entity/EntityQueryRelationshipTest.php: $this->factory = \Drupal::service('entity.query'); core/modules/system/lib/Drupal/system/Tests/Entity/EntityQueryTest.php: $this->factory = \Drupal::service('entity.query'); core/modules/system/lib/Drupal/system/Tests/Entity/EntityQueryTest.php: $query = \Drupal::entityQuery('entity_test_mulrev'); core/modules/system/lib/Drupal/system/Tests/Entity/EntityTranslationFormTest.php: \Drupal::state()->set('entity_test.translation', TRUE); core/modules/system/lib/Drupal/system/Tests/Entity/EntityTranslationFormTest.php: $form_langcode = \Drupal::state()->get('entity_test.form_langcode') ?: FALSE; core/modules/system/lib/Drupal/system/Tests/Entity/EntityTranslationFormTest.php: $form_langcode = \Drupal::state()->get('entity_test.form_langcode') ?: FALSE; core/modules/system/lib/Drupal/system/Tests/Entity/EntityTranslationFormTest.php: \Drupal::entityManager()->getForm($node, 'default', $form_state); core/modules/system/lib/Drupal/system/Tests/Entity/EntityTranslationFormTest.php: $form_langcode = \Drupal::state()->get('entity_test.form_langcode') ?: FALSE; core/modules/system/lib/Drupal/system/Tests/Entity/EntityTranslationFormTest.php: $form_langcode = \Drupal::state()->get('entity_test.form_langcode') ?: FALSE; core/modules/system/lib/Drupal/system/Tests/Entity/EntityTranslationTest.php: $query = \Drupal::entityQuery($entity_type); core/modules/system/lib/Drupal/system/Tests/Entity/EntityTranslationTest.php: $query = \Drupal::entityQuery($entity_type); core/modules/system/lib/Drupal/system/Tests/File/DirectoryTest.php: $this->assertDirectoryPermissions($directory, octdec(\Drupal::config('system.file')->get('chmod.directory'))); core/modules/system/lib/Drupal/system/Tests/File/DirectoryTest.php: $config = \Drupal::config('system.file'); core/modules/system/lib/Drupal/system/Tests/File/NameMungingTest.php: \Drupal::config('system.file')->set('allow_insecure_uploads', 0)->save(); core/modules/system/lib/Drupal/system/Tests/File/NameMungingTest.php: \Drupal::config('system.file')->set('allow_insecure_uploads', 1)->save(); core/modules/system/lib/Drupal/system/Tests/File/RemoteFileDirectoryTest.php: \Drupal::config('system.file')->set('default_scheme', 'dummy-remote')->save(); core/modules/system/lib/Drupal/system/Tests/File/RemoteFileScanDirectoryTest.php: \Drupal::config('system.file')->set('default_scheme', 'dummy-remote')->save(); core/modules/system/lib/Drupal/system/Tests/File/RemoteFileUnmanagedCopyTest.php: \Drupal::config('system.file')->set('default_scheme', 'dummy-remote')->save(); core/modules/system/lib/Drupal/system/Tests/File/RemoteFileUnmanagedDeleteRecursiveTest.php: \Drupal::config('system.file')->set('default_scheme', 'dummy-remote')->save(); core/modules/system/lib/Drupal/system/Tests/File/RemoteFileUnmanagedDeleteTest.php: \Drupal::config('system.file')->set('default_scheme', 'dummy-remote')->save(); core/modules/system/lib/Drupal/system/Tests/File/RemoteFileUnmanagedSaveDataTest.php: \Drupal::config('system.file')->set('default_scheme', 'dummy-remote')->save(); core/modules/system/lib/Drupal/system/Tests/File/StreamWrapperTest.php: $config = \Drupal::config('system.file'); core/modules/system/lib/Drupal/system/Tests/File/UnmanagedCopyTest.php: $config = \Drupal::config('system.file'); core/modules/system/lib/Drupal/system/Tests/File/UnmanagedCopyTest.php: $config = \Drupal::config('system.file'); core/modules/system/lib/Drupal/system/Tests/File/UnmanagedMoveTest.php: $config = \Drupal::config('system.file'); core/modules/system/lib/Drupal/system/Tests/File/UnmanagedSaveDataTest.php: $this->assertFilePermissions($filepath, octdec(\Drupal::config('system.file')->get('chmod.file'))); core/modules/system/lib/Drupal/system/Tests/File/UrlRewritingTest.php: \Drupal::state()->set('file_test.hook_file_url_alter', 'cdn'); core/modules/system/lib/Drupal/system/Tests/File/UrlRewritingTest.php: \Drupal::state()->set('file_test.hook_file_url_alter', 'root-relative'); core/modules/system/lib/Drupal/system/Tests/File/UrlRewritingTest.php: \Drupal::state()->set('file_test.hook_file_url_alter', 'protocol-relative'); core/modules/system/lib/Drupal/system/Tests/File/UrlRewritingTest.php: \Drupal::state()->set('file_test.hook_file_url_alter', 'cdn'); core/modules/system/lib/Drupal/system/Tests/File/UrlRewritingTest.php: \Drupal::state()->set('file_test.hook_file_url_alter', 'root-relative'); core/modules/system/lib/Drupal/system/Tests/File/UrlRewritingTest.php: \Drupal::state()->set('file_test.hook_file_url_alter', 'protocol-relative'); core/modules/system/lib/Drupal/system/Tests/Form/FormCacheTest.php: \Drupal::state()->set('system.private_key', 'invalid'); core/modules/system/lib/Drupal/system/Tests/Image/ToolkitTestBase.php: \Drupal::state()->set('image_test.results', $results); core/modules/system/lib/Drupal/system/Tests/Image/ToolkitTestBase.php: return \Drupal::state()->get('image_test.results') ?: array(); core/modules/system/lib/Drupal/system/Tests/Installer/InstallerTranslationTest.php: $config = \Drupal::config($config_base); core/modules/system/lib/Drupal/system/Tests/Installer/InstallerTranslationTest.php: \Drupal::config('system.mail')->set('interface.default', 'Drupal\Core\Mail\VariableLog')->save(); core/modules/system/lib/Drupal/system/Tests/InstallerTest.php: $config = \Drupal::config($config_base); core/modules/system/lib/Drupal/system/Tests/InstallerTest.php: \Drupal::config('system.mail')->set('interface.default', 'Drupal\Core\Mail\VariableLog')->save(); core/modules/system/lib/Drupal/system/Tests/Mail/MailTest.php: \Drupal::config('system.mail')->set('interface.default', 'Drupal\system\Tests\Mail\MailTest')->save(); core/modules/system/lib/Drupal/system/Tests/Menu/BreadcrumbTest.php: $settings['theme'] = \Drupal::config('system.theme')->get('admin'); core/modules/system/lib/Drupal/system/Tests/Menu/LocalTasksTest.php: \Drupal::config('menu_test.settings')->set('tasks.add', TRUE)->save(); core/modules/system/lib/Drupal/system/Tests/Menu/LocalTasksTest.php: \Drupal::config('menu_test.settings')->set('tasks.alter', TRUE)->save(); core/modules/system/lib/Drupal/system/Tests/Menu/MenuRouterTest.php: \Drupal::config('system.theme') core/modules/system/lib/Drupal/system/Tests/Menu/MenuRouterTest.php: \Drupal::config('system.maintenance')->set('enabled', 1)->save(); core/modules/system/lib/Drupal/system/Tests/Menu/MenuRouterTest.php: \Drupal::config('system.maintenance')->set('enabled', 0)->save(); core/modules/system/lib/Drupal/system/Tests/Menu/MenuRouterTest.php: \Drupal::config('system.maintenance')->set('enabled', 1)->save(); core/modules/system/lib/Drupal/system/Tests/Menu/MenuRouterTest.php: $offline_message = t('@site is currently under maintenance. We should be back shortly. Thank you for your patience.', array('@site' => \Drupal::config('system.site')->get('name'))); core/modules/system/lib/Drupal/system/Tests/Menu/MenuRouterTest.php: \Drupal::config('system.maintenance')->set('enabled', 0)->save(); core/modules/system/lib/Drupal/system/Tests/Menu/MenuRouterTest.php: \Drupal::state()->set('menu_test.hook_custom_theme_name', $this->alternate_theme); core/modules/system/lib/Drupal/system/Tests/Menu/MenuRouterTest.php: \Drupal::state()->set('menu_test.hook_custom_theme_name', $this->alternate_theme); core/modules/system/lib/Drupal/system/Tests/Menu/MenuRouterTest.php: \Drupal::service('router.builder')->rebuild(); core/modules/system/lib/Drupal/system/Tests/Menu/MenuRouterTest.php: $query = \Drupal::entityQuery('menu_link') core/modules/system/lib/Drupal/system/Tests/Menu/MenuRouterTest.php: $query = \Drupal::entityQuery('menu_link') core/modules/system/lib/Drupal/system/Tests/Menu/MenuRouterTest.php: \Drupal::state()->set('menu.masks', array()); core/modules/system/lib/Drupal/system/Tests/Menu/RebuildTest.php: \Drupal::state()->set('menu_rebuild_needed', TRUE); core/modules/system/lib/Drupal/system/Tests/Menu/TrailTest.php: \Drupal::state()->delete('menu_test.menu_tree_set_path'); core/modules/system/lib/Drupal/system/Tests/Menu/TrailTest.php: \Drupal::state()->set('menu_test.menu_tree_set_path', $test_menu_path); core/modules/system/lib/Drupal/system/Tests/Menu/TrailTest.php: \Drupal::state()->delete('menu_test.menu_tree_set_path'); core/modules/system/lib/Drupal/system/Tests/Menu/TrailTest.php: \Drupal::state()->set('menu_test.menu_tree_set_path', $test_menu_path); core/modules/system/lib/Drupal/system/Tests/Menu/TrailTest.php: \Drupal::config('system.site') core/modules/system/lib/Drupal/system/Tests/Menu/TrailTest.php: \Drupal::state()->set('menu_test.record_active_trail', TRUE); core/modules/system/lib/Drupal/system/Tests/Menu/TrailTest.php: $initial_trail = \Drupal::state()->get('menu_test.active_trail_initial') ?: array(); core/modules/system/lib/Drupal/system/Tests/Menu/TrailTest.php: $final_trail = \Drupal::state()->get('menu_test.active_trail_final') ?: array(); core/modules/system/lib/Drupal/system/Tests/Module/DependencyTest.php: \Drupal::state()->set('module_test.dependency', 'dependency'); core/modules/system/lib/Drupal/system/Tests/Module/DependencyTest.php: $module_order = \Drupal::state()->get('system_test.module_enable_order') ?: array(); core/modules/system/lib/Drupal/system/Tests/Module/EnableDisableTest.php: \Drupal::state()->set('system_test.verbose_module_hooks', TRUE); core/modules/system/lib/Drupal/system/Tests/Module/ModuleApiTest.php: * Test Drupal::moduleHandler()->getImplementations() caching. core/modules/system/lib/Drupal/system/Tests/Module/ModuleApiTest.php: $module_handler = \Drupal::moduleHandler(); core/modules/system/lib/Drupal/system/Tests/Module/ModuleApiTest.php: \Drupal::state()->set('module_test.dependency', 'missing dependency'); core/modules/system/lib/Drupal/system/Tests/Module/ModuleApiTest.php: \Drupal::state()->set('module_test.dependency', 'dependency'); core/modules/system/lib/Drupal/system/Tests/Module/ModuleApiTest.php: $module_order = \Drupal::state()->get('system_test.module_enable_order') ?: array(); core/modules/system/lib/Drupal/system/Tests/Module/ModuleApiTest.php: $disabled_modules = \Drupal::state()->get('module_test.disable_order') ?: array(); core/modules/system/lib/Drupal/system/Tests/Module/ModuleApiTest.php: $disabled_modules = \Drupal::state()->get('module_test.disable_order') ?: array(); core/modules/system/lib/Drupal/system/Tests/Module/ModuleApiTest.php: $uninstalled_modules = \Drupal::state()->get('module_test.uninstall_order') ?: array(); core/modules/system/lib/Drupal/system/Tests/Module/ModuleApiTest.php: $uninstalled_modules = \Drupal::state()->get('module_test.uninstall_order') ?: array(); core/modules/system/lib/Drupal/system/Tests/Module/ModuleApiTest.php: \Drupal::state()->set('module_test.dependency', 'version dependency'); core/modules/system/lib/Drupal/system/Tests/Module/ModuleApiTest.php: $enable_order = \Drupal::state()->get('system_test.module_enable_order') ?: array(); core/modules/system/lib/Drupal/system/Tests/Module/ModuleEnableTest.php: $this->assertIdentical(\Drupal::config('system.module')->get('enabled.user'), '0'); core/modules/system/lib/Drupal/system/Tests/Module/ModuleTestBase.php: if (\Drupal::config($name)->get()) { core/modules/system/lib/Drupal/system/Tests/Module/VersionTest.php: \Drupal::state()->set('system_test.dependencies', $dependencies); core/modules/system/lib/Drupal/system/Tests/Path/MatchPathTest.php: \Drupal::config('system.site')->set('page.front', $this->front)->save(); core/modules/system/lib/Drupal/system/Tests/Path/PathUnitTestBase.php: \Drupal::state()->set('menu_path_roots', array('user', 'admin')); core/modules/system/lib/Drupal/system/Tests/Path/UrlAlterFunctionalTest.php: $forum_vid = \Drupal::config('forum.settings')->get('vocabulary'); core/modules/system/lib/Drupal/system/Tests/Routing/RouterPermissionTest.php: $route = \Drupal::service('router.route_provider')->getRouteByName('router_test_7'); core/modules/system/lib/Drupal/system/Tests/Session/SessionTest.php: $config = \Drupal::config('system.performance'); core/modules/system/lib/Drupal/system/Tests/System/AccessDeniedTest.php: \Drupal::config('system.site')->set('page.403', 'user')->save(); core/modules/system/lib/Drupal/system/Tests/System/CronRunTest.php: $key = \Drupal::state()->get('system.cron_key'); core/modules/system/lib/Drupal/system/Tests/System/CronRunTest.php: \Drupal::state()->set('system.cron_last', $cron_last); core/modules/system/lib/Drupal/system/Tests/System/CronRunTest.php: \Drupal::config('system.cron') core/modules/system/lib/Drupal/system/Tests/System/CronRunTest.php: $this->assertTrue($cron_last == \Drupal::state()->get('system.cron_last'), 'Cron does not run when the cron threshold is not passed.'); core/modules/system/lib/Drupal/system/Tests/System/CronRunTest.php: \Drupal::state()->set('system.cron_last', $cron_last); core/modules/system/lib/Drupal/system/Tests/System/CronRunTest.php: $this->assertTrue($cron_last < \Drupal::state()->get('system.cron_last'), 'Cron runs when the cron threshold is passed.'); core/modules/system/lib/Drupal/system/Tests/System/CronRunTest.php: \Drupal::state()->set('system.cron_last', $cron_last); core/modules/system/lib/Drupal/system/Tests/System/CronRunTest.php: $this->assertTrue($cron_last == \Drupal::state()->get('system.cron_last'), 'Cron does not run when the cron threshold is disabled.'); core/modules/system/lib/Drupal/system/Tests/System/CronRunTest.php: \Drupal::state()->delete('common_test.cron'); core/modules/system/lib/Drupal/system/Tests/System/CronRunTest.php: $result = \Drupal::state()->get('common_test.cron'); core/modules/system/lib/Drupal/system/Tests/System/DateTimeTest.php: $config = \Drupal::config('system.date') core/modules/system/lib/Drupal/system/Tests/System/DateTimeTest.php: $format = \Drupal::config('locale.config.en.system.date_format.test_short')->get('pattern.php'); core/modules/system/lib/Drupal/system/Tests/System/ErrorHandlerTest.php: $config = \Drupal::config('system.logging'); core/modules/system/lib/Drupal/system/Tests/System/ErrorHandlerTest.php: \Drupal::config('system.logging')->set('error_level', ERROR_REPORTING_DISPLAY_VERBOSE)->save(); core/modules/system/lib/Drupal/system/Tests/System/FloodTest.php: $flood = \Drupal::service('flood'); core/modules/system/lib/Drupal/system/Tests/System/FrontPageTest.php: \Drupal::config('system.site')->set('page.front', 'node')->save(); core/modules/system/lib/Drupal/system/Tests/System/FrontPageTest.php: \Drupal::state()->set('system_test.front_page_output', 1); core/modules/system/lib/Drupal/system/Tests/System/SiteMaintenanceTest.php: \Drupal::config('system.site')->set('page.front', 'node')->save(); core/modules/system/lib/Drupal/system/Tests/System/SiteMaintenanceTest.php: $offline_message = t('@site is currently under maintenance. We should be back shortly. Thank you for your patience.', array('@site' => \Drupal::config('system.site')->get('name'))); core/modules/system/lib/Drupal/system/Tests/System/SystemConfigFormTestBase.php: $this->assertEqual($data['#value'], \Drupal::config($data['#config_name'])->get($data['#config_key'])); core/modules/system/lib/Drupal/system/Tests/System/ThemeTest.php: \Drupal::config('system.theme') core/modules/system/lib/Drupal/system/Tests/System/ThemeTest.php: $this->assertEqual(\Drupal::config('system.theme')->get('default'), 'bartik'); core/modules/system/lib/Drupal/system/Tests/System/TokenReplaceTest.php: $token_service = \Drupal::token(); core/modules/system/lib/Drupal/system/Tests/System/TokenReplaceTest.php: $token_service = \Drupal::token(); core/modules/system/lib/Drupal/system/Tests/System/TokenReplaceTest.php: $token_service = \Drupal::token(); core/modules/system/lib/Drupal/system/Tests/System/TokenReplaceTest.php: \Drupal::config('system.site') core/modules/system/lib/Drupal/system/Tests/System/TokenReplaceTest.php: $tests['[site:name]'] = check_plain(\Drupal::config('system.site')->get('name')); core/modules/system/lib/Drupal/system/Tests/System/TokenReplaceTest.php: $tests['[site:slogan]'] = filter_xss_admin(\Drupal::config('system.site')->get('slogan')); core/modules/system/lib/Drupal/system/Tests/System/TokenReplaceTest.php: $tests['[site:name]'] = \Drupal::config('system.site')->get('name'); core/modules/system/lib/Drupal/system/Tests/System/TokenReplaceTest.php: $tests['[site:slogan]'] = \Drupal::config('system.site')->get('slogan'); core/modules/system/lib/Drupal/system/Tests/System/TokenReplaceTest.php: $token_service = \Drupal::token(); core/modules/system/lib/Drupal/system/Tests/System/TokenScanTest.php: $token_wannabes = \Drupal::token()->scan($text); core/modules/system/lib/Drupal/system/Tests/Theme/EntityFilteringThemeTest.php: \Drupal::config('system.theme') core/modules/system/lib/Drupal/system/Tests/Theme/FunctionsTest.php: _current_path(\Drupal::config('system.site')->get('page.front')); core/modules/system/lib/Drupal/system/Tests/Theme/ThemeInfoStylesTest.php: \Drupal::config('system.theme') core/modules/system/lib/Drupal/system/Tests/Theme/ThemeTest.php: \Drupal::config('system.site')->set('page.front', 'nobody-home')->save(); core/modules/system/lib/Drupal/system/Tests/Theme/ThemeTest.php: \Drupal::config('system.site')->set('page.front', 'node')->save(); core/modules/system/lib/Drupal/system/Tests/Theme/ThemeTest.php: $config = \Drupal::config('system.performance'); core/modules/system/lib/Drupal/system/Tests/Theme/ThemeTest.php: \Drupal::config('system.theme') core/modules/system/lib/Drupal/system/Tests/Theme/ThemeTest.php: foreach (\Drupal::moduleHandler()->getImplementations('theme') as $module) { core/modules/system/lib/Drupal/system/Tests/Theme/ThemeTestPhpTemplate.php: \Drupal::config('system.theme') core/modules/system/lib/Drupal/system/Tests/Theme/ThemeTestTwig.php: \Drupal::config('system.theme') core/modules/system/lib/Drupal/system/Tests/Theme/TwigDebugMarkupTest.php: \Drupal::config('system.theme')->set('default', 'test_theme')->save(); core/modules/system/lib/Drupal/system/Tests/Theme/TwigDebugMarkupTest.php: foreach (\Drupal::moduleHandler()->getImplementations('theme') as $module) { core/modules/system/lib/Drupal/system/Tests/Theme/TwigExtensionTest.php: $twigService = \Drupal::service('twig'); core/modules/system/lib/Drupal/system/Tests/Theme/TwigExtensionTest.php: \Drupal::config('system.theme') core/modules/system/lib/Drupal/system/Tests/Theme/TwigExtensionTest.php: \Drupal::config('system.theme') core/modules/system/lib/Drupal/system/Tests/Theme/TwigSettingsTest.php: \Drupal::config('system.theme') core/modules/system/lib/Drupal/system/Tests/Theme/TwigSettingsTest.php: foreach (\Drupal::moduleHandler()->getImplementations('theme') as $module) { core/modules/system/lib/Drupal/system/Tests/Theme/TwigTransTest.php: \Drupal::config('system.theme')->set('default', 'test_theme')->save(); core/modules/system/lib/Drupal/system/Tests/Update/UpdateScriptTest.php: $update_script_test_config = \Drupal::config('update_script_test.settings'); core/modules/system/lib/Drupal/system/Tests/Update/UpdateScriptTest.php: $original_theme_data = \Drupal::config('system.theme')->get('enabled'); core/modules/system/lib/Drupal/system/Tests/Update/UpdateScriptTest.php: $final_theme_data = \Drupal::config('system.theme')->get('enabled'); core/modules/system/lib/Drupal/system/Tests/Upgrade/BareMinimalUpgradePathTest.php: $this->assertEqual('thumbnail', \Drupal::config('image.style.thumbnail')->get('name')); core/modules/system/lib/Drupal/system/Tests/Upgrade/BareMinimalUpgradePathTest.php: $this->assertEqual(array('default' => 'Drupal\Core\Mail\PhpMail'), \Drupal::config('system.mail')->get('interface'), 'Default mail configuration set.'); core/modules/system/lib/Drupal/system/Tests/Upgrade/BlockUpgradePathTest.php: $this->drupalPost('admin/structure/block/add/system_powered_by_block/' . \Drupal::config('system.theme')->get('default'), $settings, t('Save block')); core/modules/system/lib/Drupal/system/Tests/Upgrade/BlockUpgradePathTest.php: $this->drupalPost('admin/structure/block/add/system_powered_by_block/' . \Drupal::config('system.theme')->get('default'), $settings, t('Save block')); core/modules/system/lib/Drupal/system/Tests/Upgrade/DateUpgradePathTest.php: $format = \Drupal::config('locale.config.de.system.date_format.' . $locale_format['type'])->get('pattern.php'); core/modules/system/lib/Drupal/system/Tests/Upgrade/FieldUpgradePathTest.php: 'default' => \Drupal::config('entity.display.node.article.default')->get(), core/modules/system/lib/Drupal/system/Tests/Upgrade/FieldUpgradePathTest.php: 'teaser' => \Drupal::config('entity.display.node.article.teaser')->get(), core/modules/system/lib/Drupal/system/Tests/Upgrade/FieldUpgradePathTest.php: $form_display = \Drupal::config('entity.form_display.node.article.default')->get(); core/modules/system/lib/Drupal/system/Tests/Upgrade/FieldUpgradePathTest.php: $config = \Drupal::config('field.field.body')->get(); core/modules/system/lib/Drupal/system/Tests/Upgrade/FieldUpgradePathTest.php: $config = \Drupal::config("field.instance.node.$node_type.body")->get(); core/modules/system/lib/Drupal/system/Tests/Upgrade/FieldUpgradePathTest.php: $this->assertFalse(\Drupal::config('field.field.test_deleted_field')->get()); core/modules/system/lib/Drupal/system/Tests/Upgrade/FieldUpgradePathTest.php: $deleted_fields = \Drupal::state()->get('field.field.deleted'); core/modules/system/lib/Drupal/system/Tests/Upgrade/FieldUpgradePathTest.php: $this->assertFalse(\Drupal::config('field.instance.node.article.test_deleted_field')->get()); core/modules/system/lib/Drupal/system/Tests/Upgrade/FieldUpgradePathTest.php: $deleted_instances = \Drupal::state()->get('field.instance.deleted'); core/modules/system/lib/Drupal/system/Tests/Upgrade/ImageUpgradePathTest.php: $config = \Drupal::config('image.style.' . $name); core/modules/system/lib/Drupal/system/Tests/Upgrade/MailUpgradePathTest.php: $mail_system = \Drupal::config('system.mail')->get('interface'); core/modules/system/lib/Drupal/system/Tests/Upgrade/ModulesDisabledUpgradePathTest.php: $enabled = \Drupal::moduleHandler()->getModuleList(); core/modules/system/lib/Drupal/system/Tests/Upgrade/ModulesDisabledUpgradePathTest.php: $this->assertTrue(\Drupal::state()->get('update_test_1_update_dependencies_run'), 'Module update dependencies resolved for disabled modules'); core/modules/system/lib/Drupal/system/Tests/Upgrade/StateSystemUpgradePathTest.php: $this->assertIdentical(\Drupal::state()->get($name), $data['value']); core/modules/system/lib/Drupal/system/Tests/Upgrade/SystemUpgradePathTest.php: $config = \Drupal::config($file); core/modules/system/lib/Drupal/system/Tests/Upgrade/UpgradePathTestBase.php: \Drupal::moduleHandler()->resetImplementations(); core/modules/system/lib/Drupal/system/Tests/Upgrade/UpgradePathTestBase.php: \Drupal::moduleHandler()->reload(); core/modules/taxonomy/lib/Drupal/taxonomy/Tests/EfqTest.php: $result = \Drupal::entityQuery('taxonomy_term')->execute(); core/modules/taxonomy/lib/Drupal/taxonomy/Tests/EfqTest.php: $result = \Drupal::entityQuery('taxonomy_term') core/modules/taxonomy/lib/Drupal/taxonomy/Tests/ThemeTest.php: \Drupal::config('system.theme') core/modules/taxonomy/lib/Drupal/taxonomy/Tests/ThemeTest.php: \Drupal::config('system.theme')->set('admin', 'seven')->save(); core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TokenReplaceTest.php: $token_service = \Drupal::token(); core/modules/taxonomy/lib/Drupal/taxonomy/Tests/VocabularyTest.php: $site_name = \Drupal::config('system.site')->get('name'); core/modules/tracker/lib/Drupal/tracker/Tests/TrackerNodeAccessTest.php: \Drupal::state()->set('node_access_test.private', TRUE); core/modules/tracker/lib/Drupal/tracker/Tests/TrackerTest.php: \Drupal::state()->set('tracker.index_nid', 3); core/modules/update/lib/Drupal/update/Tests/UpdateContribTest.php: \Drupal::config('update_test.settings')->set('system_info', $system_info)->save(); core/modules/update/lib/Drupal/update/Tests/UpdateContribTest.php: \Drupal::config('update_test.settings')->set('system_info', $system_info)->save(); core/modules/update/lib/Drupal/update/Tests/UpdateContribTest.php: \Drupal::config('update_test.settings')->set('system_info', $system_info)->save(); core/modules/update/lib/Drupal/update/Tests/UpdateContribTest.php: \Drupal::config('update_test.settings')->set('system_info', $system_info)->save(); core/modules/update/lib/Drupal/update/Tests/UpdateContribTest.php: $update_settings = \Drupal::config('update.settings'); core/modules/update/lib/Drupal/update/Tests/UpdateContribTest.php: $theme_config = \Drupal::config('system.theme'); core/modules/update/lib/Drupal/update/Tests/UpdateContribTest.php: \Drupal::config('update_test.settings')->set('system_info', $system_info)->save(); core/modules/update/lib/Drupal/update/Tests/UpdateContribTest.php: \Drupal::config('update_test.settings')->set('system_info', $system_info)->save(); core/modules/update/lib/Drupal/update/Tests/UpdateContribTest.php: \Drupal::config('update_test.settings')->set('system_info', $system_info)->save(); core/modules/update/lib/Drupal/update/Tests/UpdateContribTest.php: $update_test_config = \Drupal::config('update_test.settings'); core/modules/update/lib/Drupal/update/Tests/UpdateCoreTest.php: \Drupal::config('update_test.settings')->set('system_info', $system_info)->save(); core/modules/update/lib/Drupal/update/Tests/UpdateCoreTest.php: \Drupal::config('update.settings')->set('fetch.url', url('update-test', array('absolute' => TRUE)))->save(); core/modules/update/lib/Drupal/update/Tests/UpdateCoreTest.php: \Drupal::config('update_test.settings')->set('xml_map', array('drupal' => '0'))->save(); core/modules/update/lib/Drupal/update/Tests/UpdateCoreTest.php: \Drupal::config('update.settings')->set('fetch.url', url('update-test', array('absolute' => TRUE)))->save(); core/modules/update/lib/Drupal/update/Tests/UpdateCoreTest.php: \Drupal::config('update_test.settings')->set('xml_map', array('drupal' => '0'))->save(); core/modules/update/lib/Drupal/update/Tests/UpdateCoreTest.php: \Drupal::config('update.settings')->set('fetch.url', url('update-test', array('absolute' => TRUE)))->save(); core/modules/update/lib/Drupal/update/Tests/UpdateCoreTest.php: \Drupal::config('update_test.settings')->set('xml_map', array('drupal' => '1'))->save(); core/modules/update/lib/Drupal/update/Tests/UpdateCoreTest.php: \Drupal::config('update.settings')->set('fetch.url', url('update-test', array('absolute' => TRUE)))->save(); core/modules/update/lib/Drupal/update/Tests/UpdateCoreTest.php: \Drupal::config('update_test.settings')->set('xml_map', array('drupal' => '2-sec'))->save(); core/modules/update/lib/Drupal/update/Tests/UpdateCoreTest.php: $queue = \Drupal::queue('update_fetch_tasks'); core/modules/update/lib/Drupal/update/Tests/UpdateCoreTest.php: \Drupal::config('update.settings')->set('fetch.url', url('update-test', array('absolute' => TRUE)))->save(); core/modules/update/lib/Drupal/update/Tests/UpdateCoreTest.php: \Drupal::config('update_test.settings')->set('xml_map', array('drupal' => '1'))->save(); core/modules/update/lib/Drupal/update/Tests/UpdateCoreTest.php: \Drupal::config('update_test.settings')->set('system_info', $setting)->save(); core/modules/update/lib/Drupal/update/Tests/UpdateTestBase.php: \Drupal::config('update.settings')->set('fetch.url', url($url, array('absolute' => TRUE)))->save(); core/modules/update/lib/Drupal/update/Tests/UpdateTestBase.php: \Drupal::config('update_test.settings')->set('xml_map', $xml_map)->save(); core/modules/update/lib/Drupal/update/Tests/UpdateUploadTest.php: \Drupal::config('update_test.settings') core/modules/update/lib/Drupal/update/Tests/UpdateUploadTest.php: \Drupal::config('update.settings')->set('fetch.url', url('update-test', array('absolute' => TRUE)))->save(); core/modules/user/lib/Drupal/user/Tests/UserAdminTest.php: $config = \Drupal::config('user.settings'); core/modules/user/lib/Drupal/user/Tests/UserAdminTest.php: $system = \Drupal::config('system.site'); core/modules/user/lib/Drupal/user/Tests/UserAutocompleteTest.php: \Drupal::config('user.settings')->set('anonymous', $anonymous_name)->save(); core/modules/user/lib/Drupal/user/Tests/UserCancelTest.php: \Drupal::config('user.settings')->set('cancel_method', 'user_cancel_reassign')->save(); core/modules/user/lib/Drupal/user/Tests/UserCancelTest.php: \Drupal::config('user.settings')->set('cancel_method', 'user_cancel_reassign')->save(); core/modules/user/lib/Drupal/user/Tests/UserCancelTest.php: \Drupal::config('user.settings')->set('cancel_method', 'user_cancel_block')->save(); core/modules/user/lib/Drupal/user/Tests/UserCancelTest.php: \Drupal::config('user.settings')->set('cancel_method', 'user_cancel_block_unpublish')->save(); core/modules/user/lib/Drupal/user/Tests/UserCancelTest.php: \Drupal::config('user.settings')->set('cancel_method', 'user_cancel_reassign')->save(); core/modules/user/lib/Drupal/user/Tests/UserCancelTest.php: $this->assertRaw(t('Your account will be removed and all account information deleted. All of your content will be assigned to the %anonymous-name user.', array('%anonymous-name' => \Drupal::config('user.settings')->get('anonymous'))), 'Informs that all content will be attributed to anonymous account.'); core/modules/user/lib/Drupal/user/Tests/UserCancelTest.php: \Drupal::config('user.settings')->set('cancel_method', 'user_cancel_delete')->save(); core/modules/user/lib/Drupal/user/Tests/UserCancelTest.php: \Drupal::config('user.settings')->set('cancel_method', 'user_cancel_reassign')->save(); core/modules/user/lib/Drupal/user/Tests/UserCancelTest.php: \Drupal::config('user.settings')->set('cancel_method', 'user_cancel_reassign')->save(); core/modules/user/lib/Drupal/user/Tests/UserCancelTest.php: \Drupal::config('user.settings')->set('cancel_method', 'user_cancel_reassign')->save(); core/modules/user/lib/Drupal/user/Tests/UserCancelTest.php: \Drupal::config('user.settings')->set('notify.status_canceled', TRUE)->save(); core/modules/user/lib/Drupal/user/Tests/UserCreateFailMailTest.php: \Drupal::config('system.mail')->set('interface.default', 'Drupal\system_mail_failure_test\TestPhpMailFailure')->save(); core/modules/user/lib/Drupal/user/Tests/UserCreateTest.php: $config = \Drupal::config('user.settings'); core/modules/user/lib/Drupal/user/Tests/UserEditTest.php: $config = \Drupal::config('user.settings'); core/modules/user/lib/Drupal/user/Tests/UserEditedOwnAccountTest.php: \Drupal::config('user.settings')->set('register', USER_REGISTER_ADMINISTRATORS_ONLY)->save(); core/modules/user/lib/Drupal/user/Tests/UserEntityCallbacksTest.php: \Drupal::config('user.settings')->set('anonymous', $name)->save(); core/modules/user/lib/Drupal/user/Tests/UserLoginTest.php: \Drupal::config('user.flood') core/modules/user/lib/Drupal/user/Tests/UserLoginTest.php: \Drupal::config('user.flood') core/modules/user/lib/Drupal/user/Tests/UserLoginTest.php: $this->assertRaw(format_plural(\Drupal::config('user.flood')->get('user_limit'), 'Sorry, there has been more than one failed login attempt for this account. It is temporarily blocked. Try again later or request a new password.', 'Sorry, there have been more than @count failed login attempts for this account. It is temporarily blocked. Try again later or request a new password.', array('@url' => url('user/password')))); core/modules/user/lib/Drupal/user/Tests/UserPasswordResetTest.php: $subject = t('Replacement login information for @username at @site', array('@username' => $this->account->getUsername(), '@site' => \Drupal::config('system.site')->get('name'))); core/modules/user/lib/Drupal/user/Tests/UserPasswordResetTest.php: $this->assertTitle(t('@name | @site', array('@name' => $this->account->getUsername(), '@site' => \Drupal::config('system.site')->get('name'))), 'Logged in using password reset link.'); core/modules/user/lib/Drupal/user/Tests/UserPasswordResetTest.php: $timeout = \Drupal::config('user.settings')->get('password_reset_timeout'); core/modules/user/lib/Drupal/user/Tests/UserRegistrationTest.php: $config = \Drupal::config('user.settings'); core/modules/user/lib/Drupal/user/Tests/UserRegistrationTest.php: $config = \Drupal::config('user.settings'); core/modules/user/lib/Drupal/user/Tests/UserRegistrationTest.php: \Drupal::config('user.settings') core/modules/user/lib/Drupal/user/Tests/UserRegistrationTest.php: $config_user_settings = \Drupal::config('user.settings') core/modules/user/lib/Drupal/user/Tests/UserRegistrationTest.php: $config_system_date = \Drupal::config('system.date') core/modules/user/lib/Drupal/user/Tests/UserSignatureTest.php: \Drupal::config('user.settings')->set('signatures', 1)->save(); core/modules/user/lib/Drupal/user/Tests/UserTimeZoneTest.php: \Drupal::config('system.date') core/modules/user/lib/Drupal/user/Tests/UserTokenReplaceTest.php: $token_service = \Drupal::token(); core/modules/user/lib/Drupal/user/Tests/Views/BulkFormTest.php: $this->assertText(\Drupal::config('user.settings')->get('anonymous')); core/modules/user/lib/Drupal/user/Tests/Views/HandlerFieldUserNameTest.php: $anon_name = \Drupal::config('user.settings')->get('anonymous'); core/modules/views/lib/Drupal/views/Tests/Handler/AreaTest.php: $expected = \Drupal::token()->replace('[site:name]'); core/modules/views/lib/Drupal/views/Tests/Handler/HandlerTest.php: \Drupal::config('views_test_data.tests')->set('handler_access_callback', TRUE)->save(); core/modules/views/lib/Drupal/views/Tests/Handler/HandlerTest.php: \Drupal::config('views_test_data.tests')->set('handler_access_callback_argument', FALSE)->save(); core/modules/views/lib/Drupal/views/Tests/Handler/HandlerTest.php: \Drupal::config('views_test_data.tests')->set('handler_access_callback', FALSE)->save(); core/modules/views/lib/Drupal/views/Tests/Handler/HandlerTest.php: \Drupal::config('views_test_data.tests')->set('handler_access_callback_argument', TRUE)->save(); core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayAttachmentTest.php: \Drupal::state()->set('menu_rebuild_needed', TRUE); core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayExtenderTest.php: \Drupal::config('views.settings')->set('display_extenders', array('display_extender_test'))->save(); core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayTest.php: $config = \Drupal::config('views.view.test_display_invalid'); core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayTest.php: $config = \Drupal::config('views.view.test_display_invalid'); core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayTest.php: $config = \Drupal::config('views.view.test_display_invalid'); core/modules/views/lib/Drupal/views/Tests/TokenReplaceTest.php: $token_handler = \Drupal::token(); core/modules/views/lib/Drupal/views/Tests/ViewRenderTest.php: \Drupal::state()->set('views_render.test', 0); core/modules/views/lib/Drupal/views/Tests/ViewRenderTest.php: $this->assertEqual(\Drupal::state()->get('views_render.test'), 1); core/modules/views/lib/Drupal/views/Tests/ViewStorageTest.php: $data = \Drupal::config('views.view.test_view_storage')->get(); core/modules/views/lib/Drupal/views/Tests/ViewStorageTest.php: $values = \Drupal::config('views.view.test_view_storage')->get(); core/modules/views/lib/Drupal/views/Tests/ViewStorageTest.php: $values = \Drupal::config('views.view.test_view_storage_new_new2')->get(); core/modules/views/lib/Drupal/views/Tests/ViewTestBase.php: \Drupal::state()->set('views_test_data_schema', $this->schemaDefinition()); core/modules/views/lib/Drupal/views/Tests/ViewTestBase.php: \Drupal::state()->set('views_test_data_views_data', $this->viewsData()); core/modules/views/lib/Drupal/views/Tests/ViewTestData.php: $module_handler = \Drupal::moduleHandler(); core/modules/views/lib/Drupal/views/Tests/ViewTestData.php: \Drupal::service('config.storage') core/modules/views/lib/Drupal/views/Tests/ViewTestData.php: \Drupal::service('event_dispatcher'), core/modules/views/lib/Drupal/views/Tests/ViewTestData.php: \Drupal::service('config.factory'), core/modules/views/lib/Drupal/views/Tests/ViewTestData.php: \Drupal::entityManager(), core/modules/views/lib/Drupal/views/Tests/ViewTestData.php: \Drupal::lock() core/modules/views/lib/Drupal/views/Tests/ViewUnitTestBase.php: \Drupal::state()->set('views_test_data_schema', $this->schemaDefinition()); core/modules/views/lib/Drupal/views/Tests/ViewUnitTestBase.php: \Drupal::state()->set('views_test_data_views_data', $this->viewsData()); core/modules/views/lib/Drupal/views/Tests/Wizard/BasicTest.php: $this->drupalGet('admin/structure/block/list/' . \Drupal::config('system.theme')->get('default')); core/modules/views/lib/Drupal/views/Tests/Wizard/ItemsPerPageTest.php: $this->drupalGet('admin/structure/block/list/' . \Drupal::config('system.theme')->get('default')); core/modules/views_ui/lib/Drupal/views_ui/Tests/DefaultViewsTest.php: $this->assertTitle(t('Clone of @label | @site-name', array('@label' => 'Glossary', '@site-name' => \Drupal::config('system.site')->get('name')))); core/modules/views_ui/lib/Drupal/views_ui/Tests/DisplayExtenderUITest.php: \Drupal::config('views.settings')->set('display_extenders', array('display_extender_test'))->save(); core/modules/views_ui/lib/Drupal/views_ui/Tests/DisplayTest.php: \Drupal::config('views.settings')->set('ui.show.master_display', TRUE)->save(); core/modules/views_ui/lib/Drupal/views_ui/Tests/DisplayTest.php: \Drupal::config('views.settings')->set('ui.show.advanced_column', TRUE)->save(); core/modules/views_ui/lib/Drupal/views_ui/Tests/OverrideDisplaysTest.php: $this->drupalGet('admin/structure/block/list/' . \Drupal::config('system.theme')->get('default')); core/modules/views_ui/lib/Drupal/views_ui/Tests/OverrideDisplaysTest.php: $this->drupalGet('admin/structure/block/list/' . \Drupal::config('system.theme')->get('default')); core/modules/views_ui/lib/Drupal/views_ui/Tests/TagTest.php: \Drupal::moduleHandler()->loadInclude('views_ui', 'inc', 'admin'); core/modules/xmlrpc/lib/Drupal/xmlrpc/Tests/XmlRpcMessagesTest.php: \Drupal::state()->set('xmlrpc_test.alter', FALSE); core/modules/xmlrpc/lib/Drupal/xmlrpc/Tests/XmlRpcMessagesTest.php: \Drupal::state()->set('xmlrpc_test.alter', TRUE);