Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
drupal
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Custom Issue Tracker
Custom Issue Tracker
Labels
Merge Requests
225
Merge Requests
225
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
project
drupal
Commits
3cf100df
Commit
3cf100df
authored
Aug 14, 2013
by
webchick
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#1957142
by damiankloip, fubhy, cosmicdreams: Replace config() with Drupal::config().
parent
858674f0
Changes
334
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
334 changed files
with
823 additions
and
824 deletions
+823
-824
core/includes/ajax.inc
core/includes/ajax.inc
+2
-2
core/includes/authorize.inc
core/includes/authorize.inc
+4
-4
core/includes/bootstrap.inc
core/includes/bootstrap.inc
+6
-6
core/includes/common.inc
core/includes/common.inc
+4
-4
core/includes/config.inc
core/includes/config.inc
+4
-5
core/includes/entity.api.php
core/includes/entity.api.php
+2
-2
core/includes/file.inc
core/includes/file.inc
+7
-7
core/includes/form.inc
core/includes/form.inc
+1
-1
core/includes/install.core.inc
core/includes/install.core.inc
+4
-4
core/includes/install.inc
core/includes/install.inc
+1
-1
core/includes/language.inc
core/includes/language.inc
+3
-3
core/includes/mail.inc
core/includes/mail.inc
+2
-2
core/includes/menu.inc
core/includes/menu.inc
+4
-4
core/includes/module.inc
core/includes/module.inc
+4
-4
core/includes/path.inc
core/includes/path.inc
+2
-2
core/includes/theme.inc
core/includes/theme.inc
+9
-9
core/includes/update.inc
core/includes/update.inc
+14
-14
core/lib/Drupal.php
core/lib/Drupal.php
+3
-3
core/lib/Drupal/Core/Asset/AssetDumper.php
core/lib/Drupal/Core/Asset/AssetDumper.php
+1
-1
core/lib/Drupal/Core/Config/Context/ContextInterface.php
core/lib/Drupal/Core/Config/Context/ContextInterface.php
+1
-1
core/lib/Drupal/Core/Config/Entity/Query/Query.php
core/lib/Drupal/Core/Config/Entity/Query/Query.php
+1
-1
core/lib/Drupal/Core/Controller/ExceptionController.php
core/lib/Drupal/Core/Controller/ExceptionController.php
+3
-3
core/lib/Drupal/Core/Datetime/DrupalDateTime.php
core/lib/Drupal/Core/Datetime/DrupalDateTime.php
+1
-1
core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php
.../Drupal/Core/EventSubscriber/FinishResponseSubscriber.php
+1
-1
core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php
...Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php
+1
-1
core/lib/Drupal/Core/Executable/ExecutablePluginBase.php
core/lib/Drupal/Core/Executable/ExecutablePluginBase.php
+1
-1
core/lib/Drupal/Core/Extension/ModuleHandler.php
core/lib/Drupal/Core/Extension/ModuleHandler.php
+5
-5
core/lib/Drupal/Core/Extension/UpdateModuleHandler.php
core/lib/Drupal/Core/Extension/UpdateModuleHandler.php
+2
-2
core/lib/Drupal/Core/StreamWrapper/PrivateStream.php
core/lib/Drupal/Core/StreamWrapper/PrivateStream.php
+1
-1
core/lib/Drupal/Core/SystemListingInfo.php
core/lib/Drupal/Core/SystemListingInfo.php
+1
-1
core/modules/aggregator/aggregator.module
core/modules/aggregator/aggregator.module
+2
-2
core/modules/aggregator/aggregator.pages.inc
core/modules/aggregator/aggregator.pages.inc
+3
-3
core/modules/aggregator/lib/Drupal/aggregator/Plugin/Core/Entity/Feed.php
...regator/lib/Drupal/aggregator/Plugin/Core/Entity/Feed.php
+1
-1
core/modules/aggregator/lib/Drupal/aggregator/Plugin/aggregator/processor/DefaultProcessor.php
...gregator/Plugin/aggregator/processor/DefaultProcessor.php
+3
-3
core/modules/aggregator/lib/Drupal/aggregator/Tests/AggregatorTestBase.php
...egator/lib/Drupal/aggregator/Tests/AggregatorTestBase.php
+2
-2
core/modules/aggregator/lib/Drupal/aggregator/Tests/FeedParserTest.php
...aggregator/lib/Drupal/aggregator/Tests/FeedParserTest.php
+1
-1
core/modules/aggregator/tests/modules/aggregator_test/lib/Drupal/aggregator_test/Plugin/aggregator/processor/TestProcessor.php
...egator_test/Plugin/aggregator/processor/TestProcessor.php
+3
-3
core/modules/block/block.module
core/modules/block/block.module
+6
-6
core/modules/block/custom_block/custom_block.module
core/modules/block/custom_block/custom_block.module
+1
-1
core/modules/block/custom_block/lib/Drupal/custom_block/CustomBlockFormController.php
...ock/lib/Drupal/custom_block/CustomBlockFormController.php
+1
-1
core/modules/block/lib/Drupal/block/BlockPluginInterface.php
core/modules/block/lib/Drupal/block/BlockPluginInterface.php
+1
-1
core/modules/block/lib/Drupal/block/Tests/BlockHiddenRegionTest.php
...es/block/lib/Drupal/block/Tests/BlockHiddenRegionTest.php
+1
-1
core/modules/block/lib/Drupal/block/Tests/BlockLanguageTest.php
...odules/block/lib/Drupal/block/Tests/BlockLanguageTest.php
+1
-1
core/modules/block/lib/Drupal/block/Tests/BlockStorageUnitTest.php
...les/block/lib/Drupal/block/Tests/BlockStorageUnitTest.php
+1
-1
core/modules/block/lib/Drupal/block/Tests/BlockTemplateSuggestionsUnitTest.php
...b/Drupal/block/Tests/BlockTemplateSuggestionsUnitTest.php
+1
-1
core/modules/block/lib/Drupal/block/Tests/BlockTest.php
core/modules/block/lib/Drupal/block/Tests/BlockTest.php
+6
-6
core/modules/block/lib/Drupal/block/Tests/BlockTestBase.php
core/modules/block/lib/Drupal/block/Tests/BlockTestBase.php
+2
-2
core/modules/block/lib/Drupal/block/Tests/BlockTitleXSSTest.php
...odules/block/lib/Drupal/block/Tests/BlockTitleXSSTest.php
+1
-1
core/modules/block/lib/Drupal/block/Tests/NewDefaultThemeBlocksTest.php
...lock/lib/Drupal/block/Tests/NewDefaultThemeBlocksTest.php
+2
-2
core/modules/block/lib/Drupal/block/Tests/Views/DisplayBlockTest.php
...s/block/lib/Drupal/block/Tests/Views/DisplayBlockTest.php
+1
-1
core/modules/book/book.install
core/modules/book/book.install
+1
-1
core/modules/book/book.module
core/modules/book/book.module
+4
-4
core/modules/book/lib/Drupal/book/Tests/BookTest.php
core/modules/book/lib/Drupal/book/Tests/BookTest.php
+7
-7
core/modules/breakpoint/breakpoint.module
core/modules/breakpoint/breakpoint.module
+3
-3
core/modules/ckeditor/ckeditor.module
core/modules/ckeditor/ckeditor.module
+1
-1
core/modules/color/color.install
core/modules/color/color.install
+1
-1
core/modules/color/color.module
core/modules/color/color.module
+6
-6
core/modules/color/lib/Drupal/color/Tests/ColorTest.php
core/modules/color/lib/Drupal/color/Tests/ColorTest.php
+5
-5
core/modules/comment/comment.module
core/modules/comment/comment.module
+3
-3
core/modules/comment/comment.tokens.inc
core/modules/comment/comment.tokens.inc
+1
-1
core/modules/comment/lib/Drupal/comment/CommentFormController.php
...ules/comment/lib/Drupal/comment/CommentFormController.php
+2
-2
core/modules/comment/lib/Drupal/comment/Plugin/views/argument/UserUid.php
...ment/lib/Drupal/comment/Plugin/views/argument/UserUid.php
+1
-1
core/modules/comment/lib/Drupal/comment/Plugin/views/row/Rss.php
...dules/comment/lib/Drupal/comment/Plugin/views/row/Rss.php
+1
-1
core/modules/comment/lib/Drupal/comment/Tests/CommentLinksTest.php
...les/comment/lib/Drupal/comment/Tests/CommentLinksTest.php
+2
-2
core/modules/comment/lib/Drupal/comment/Tests/CommentPreviewTest.php
...s/comment/lib/Drupal/comment/Tests/CommentPreviewTest.php
+1
-1
core/modules/config/lib/Drupal/config/Tests/ConfigCRUDTest.php
...modules/config/lib/Drupal/config/Tests/ConfigCRUDTest.php
+16
-16
core/modules/config/lib/Drupal/config/Tests/ConfigFileContentTest.php
.../config/lib/Drupal/config/Tests/ConfigFileContentTest.php
+7
-7
core/modules/config/lib/Drupal/config/Tests/ConfigImportUITest.php
...les/config/lib/Drupal/config/Tests/ConfigImportUITest.php
+4
-4
core/modules/config/lib/Drupal/config/Tests/ConfigImporterTest.php
...les/config/lib/Drupal/config/Tests/ConfigImporterTest.php
+9
-9
core/modules/config/lib/Drupal/config/Tests/ConfigInstallTest.php
...ules/config/lib/Drupal/config/Tests/ConfigInstallTest.php
+4
-4
core/modules/config/lib/Drupal/config/Tests/ConfigInstallWebTest.php
...s/config/lib/Drupal/config/Tests/ConfigInstallWebTest.php
+11
-11
core/modules/config/lib/Drupal/config/Tests/ConfigLocaleOverride.php
...s/config/lib/Drupal/config/Tests/ConfigLocaleOverride.php
+21
-21
core/modules/config/lib/Drupal/config/Tests/ConfigLocaleOverrideWebTest.php
...g/lib/Drupal/config/Tests/ConfigLocaleOverrideWebTest.php
+1
-1
core/modules/config/lib/Drupal/config/Tests/ConfigOverrideTest.php
...les/config/lib/Drupal/config/Tests/ConfigOverrideTest.php
+5
-5
core/modules/config/lib/Drupal/config/Tests/ConfigSnapshotTest.php
...les/config/lib/Drupal/config/Tests/ConfigSnapshotTest.php
+2
-2
core/modules/config/lib/Drupal/config/Tests/ConfigUpgradeTest.php
...ules/config/lib/Drupal/config/Tests/ConfigUpgradeTest.php
+4
-4
core/modules/config/lib/Drupal/config/Tests/Storage/FileStorageTest.php
...onfig/lib/Drupal/config/Tests/Storage/FileStorageTest.php
+1
-1
core/modules/contact/contact.install
core/modules/contact/contact.install
+4
-4
core/modules/contact/contact.module
core/modules/contact/contact.module
+6
-6
core/modules/contact/contact.pages.inc
core/modules/contact/contact.pages.inc
+2
-2
core/modules/contact/lib/Drupal/contact/CategoryFormController.php
...les/contact/lib/Drupal/contact/CategoryFormController.php
+2
-2
core/modules/contact/lib/Drupal/contact/CategoryListController.php
...les/contact/lib/Drupal/contact/CategoryListController.php
+1
-1
core/modules/contact/lib/Drupal/contact/MessageFormController.php
...ules/contact/lib/Drupal/contact/MessageFormController.php
+1
-1
core/modules/contact/lib/Drupal/contact/Tests/ContactPersonalTest.php
.../contact/lib/Drupal/contact/Tests/ContactPersonalTest.php
+4
-4
core/modules/contact/lib/Drupal/contact/Tests/ContactSitewideTest.php
.../contact/lib/Drupal/contact/Tests/ContactSitewideTest.php
+8
-8
core/modules/contact/lib/Drupal/contact/Tests/ContactUpgradePathTest.php
...ntact/lib/Drupal/contact/Tests/ContactUpgradePathTest.php
+1
-1
core/modules/content_translation/content_translation.module
core/modules/content_translation/content_translation.module
+2
-2
core/modules/datetime/lib/Drupal/datetime/DateHelper.php
core/modules/datetime/lib/Drupal/datetime/DateHelper.php
+1
-1
core/modules/dblog/dblog.module
core/modules/dblog/dblog.module
+3
-3
core/modules/dblog/lib/Drupal/dblog/Tests/DbLogTest.php
core/modules/dblog/lib/Drupal/dblog/Tests/DbLogTest.php
+1
-1
core/modules/entity/entity.install
core/modules/entity/entity.install
+2
-2
core/modules/entity_reference/lib/Drupal/entity_reference/Tests/EntityReferenceSelectionAccessTest.php
...ty_reference/Tests/EntityReferenceSelectionAccessTest.php
+1
-1
core/modules/field/field.module
core/modules/field/field.module
+1
-1
core/modules/field/field.multilingual.inc
core/modules/field/field.multilingual.inc
+1
-1
core/modules/field/lib/Drupal/field/Tests/CrudTest.php
core/modules/field/lib/Drupal/field/Tests/CrudTest.php
+1
-1
core/modules/field/lib/Drupal/field/Tests/FormTest.php
core/modules/field/lib/Drupal/field/Tests/FormTest.php
+1
-1
core/modules/field_sql_storage/field_sql_storage.install
core/modules/field_sql_storage/field_sql_storage.install
+1
-1
core/modules/field_ui/lib/Drupal/field_ui/FieldOverview.php
core/modules/field_ui/lib/Drupal/field_ui/FieldOverview.php
+2
-2
core/modules/file/file.field.inc
core/modules/file/file.field.inc
+1
-1
core/modules/file/file.install
core/modules/file/file.install
+1
-1
core/modules/file/file.module
core/modules/file/file.module
+2
-2
core/modules/file/lib/Drupal/file/Tests/RemoteFileSaveUploadTest.php
...s/file/lib/Drupal/file/Tests/RemoteFileSaveUploadTest.php
+1
-1
core/modules/file/lib/Drupal/file/Tests/SaveUploadTest.php
core/modules/file/lib/Drupal/file/Tests/SaveUploadTest.php
+2
-2
core/modules/filter/filter.install
core/modules/filter/filter.install
+1
-1
core/modules/filter/filter.module
core/modules/filter/filter.module
+3
-3
core/modules/filter/lib/Drupal/filter/Plugin/Filter/FilterHtml.php
...les/filter/lib/Drupal/filter/Plugin/Filter/FilterHtml.php
+1
-1
core/modules/filter/lib/Drupal/filter/Tests/FilterAdminTest.php
...odules/filter/lib/Drupal/filter/Tests/FilterAdminTest.php
+2
-2
core/modules/filter/lib/Drupal/filter/Tests/FilterUnitTest.php
...modules/filter/lib/Drupal/filter/Tests/FilterUnitTest.php
+1
-1
core/modules/forum/forum.admin.inc
core/modules/forum/forum.admin.inc
+1
-1
core/modules/forum/forum.install
core/modules/forum/forum.install
+1
-1
core/modules/forum/forum.module
core/modules/forum/forum.module
+8
-8
core/modules/forum/forum.pages.inc
core/modules/forum/forum.pages.inc
+1
-1
core/modules/forum/lib/Drupal/forum/Tests/ForumTest.php
core/modules/forum/lib/Drupal/forum/Tests/ForumTest.php
+4
-4
core/modules/image/image.admin.inc
core/modules/image/image.admin.inc
+1
-1
core/modules/image/image.install
core/modules/image/image.install
+1
-1
core/modules/image/lib/Drupal/image/Tests/ImageStylesPathAndUrlTest.php
...mage/lib/Drupal/image/Tests/ImageStylesPathAndUrlTest.php
+3
-3
core/modules/language/language.admin.inc
core/modules/language/language.admin.inc
+3
-3
core/modules/language/language.module
core/modules/language/language.module
+5
-5
core/modules/language/language.negotiation.inc
core/modules/language/language.negotiation.inc
+9
-9
core/modules/language/lib/Drupal/language/Tests/LanguageUILanguageNegotiationTest.php
...upal/language/Tests/LanguageUILanguageNegotiationTest.php
+3
-3
core/modules/language/lib/Drupal/language/Tests/LanguageUrlRewritingTest.php
...ge/lib/Drupal/language/Tests/LanguageUrlRewritingTest.php
+1
-1
core/modules/language/tests/language_test/language_test.module
...modules/language/tests/language_test/language_test.module
+2
-2
core/modules/layout/lib/Drupal/layout/Config/DisplayInterface.php
...ules/layout/lib/Drupal/layout/Config/DisplayInterface.php
+1
-1
core/modules/locale/lib/Drupal/locale/Form/LocaleSettingsForm.php
...ules/locale/lib/Drupal/locale/Form/LocaleSettingsForm.php
+1
-1
core/modules/locale/lib/Drupal/locale/LocaleLookup.php
core/modules/locale/lib/Drupal/locale/LocaleLookup.php
+1
-1
core/modules/locale/lib/Drupal/locale/PoDatabaseWriter.php
core/modules/locale/lib/Drupal/locale/PoDatabaseWriter.php
+1
-1
core/modules/locale/lib/Drupal/locale/Tests/LocaleConfigTranslationTest.php
...e/lib/Drupal/locale/Tests/LocaleConfigTranslationTest.php
+2
-2
core/modules/locale/lib/Drupal/locale/Tests/LocaleImportFunctionalTest.php
...le/lib/Drupal/locale/Tests/LocaleImportFunctionalTest.php
+1
-1
core/modules/locale/lib/Drupal/locale/Tests/LocalePathTest.php
...modules/locale/lib/Drupal/locale/Tests/LocalePathTest.php
+1
-1
core/modules/locale/lib/Drupal/locale/Tests/LocaleTranslationUiTest.php
...ocale/lib/Drupal/locale/Tests/LocaleTranslationUiTest.php
+1
-1
core/modules/locale/lib/Drupal/locale/Tests/LocaleUninstallTest.php
...es/locale/lib/Drupal/locale/Tests/LocaleUninstallTest.php
+5
-5
core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateBase.php
...dules/locale/lib/Drupal/locale/Tests/LocaleUpdateBase.php
+2
-2
core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateCronTest.php
...s/locale/lib/Drupal/locale/Tests/LocaleUpdateCronTest.php
+1
-1
core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateTest.php
...dules/locale/lib/Drupal/locale/Tests/LocaleUpdateTest.php
+6
-6
core/modules/locale/lib/Drupal/locale/TranslationsStream.php
core/modules/locale/lib/Drupal/locale/TranslationsStream.php
+1
-1
core/modules/locale/locale.bulk.inc
core/modules/locale/locale.bulk.inc
+3
-3
core/modules/locale/locale.compare.inc
core/modules/locale/locale.compare.inc
+3
-3
core/modules/locale/locale.install
core/modules/locale/locale.install
+5
-5
core/modules/locale/locale.module
core/modules/locale/locale.module
+9
-9
core/modules/locale/locale.translation.inc
core/modules/locale/locale.translation.inc
+3
-3
core/modules/menu/lib/Drupal/menu/Tests/MenuTest.php
core/modules/menu/lib/Drupal/menu/Tests/MenuTest.php
+1
-1
core/modules/menu/menu.install
core/modules/menu/menu.install
+1
-1
core/modules/menu/menu.module
core/modules/menu/menu.module
+3
-3
core/modules/node/lib/Drupal/node/NodeFormController.php
core/modules/node/lib/Drupal/node/NodeFormController.php
+1
-1
core/modules/node/lib/Drupal/node/Plugin/views/row/Rss.php
core/modules/node/lib/Drupal/node/Plugin/views/row/Rss.php
+1
-1
core/modules/node/lib/Drupal/node/Tests/NodeAccessPagerTest.php
...odules/node/lib/Drupal/node/Tests/NodeAccessPagerTest.php
+1
-1
core/modules/node/lib/Drupal/node/Tests/NodeCreationTest.php
core/modules/node/lib/Drupal/node/Tests/NodeCreationTest.php
+2
-2
core/modules/node/lib/Drupal/node/Tests/NodeFormButtonsTest.php
...odules/node/lib/Drupal/node/Tests/NodeFormButtonsTest.php
+1
-1
core/modules/node/node.install
core/modules/node/node.install
+4
-4
core/modules/node/node.module
core/modules/node/node.module
+9
-9
core/modules/overlay/overlay.module
core/modules/overlay/overlay.module
+2
-2
core/modules/php/php.module
core/modules/php/php.module
+1
-1
core/modules/rdf/rdf.install
core/modules/rdf/rdf.install
+1
-1
core/modules/rest/lib/Drupal/rest/Tests/RESTTestBase.php
core/modules/rest/lib/Drupal/rest/Tests/RESTTestBase.php
+1
-1
core/modules/rest/rest.module
core/modules/rest/rest.module
+1
-1
core/modules/search/lib/Drupal/search/Plugin/views/filter/Search.php
...s/search/lib/Drupal/search/Plugin/views/filter/Search.php
+1
-1
core/modules/search/lib/Drupal/search/SearchQuery.php
core/modules/search/lib/Drupal/search/SearchQuery.php
+4
-4
core/modules/search/lib/Drupal/search/Tests/SearchEmbedFormTest.php
...es/search/lib/Drupal/search/Tests/SearchEmbedFormTest.php
+4
-4
core/modules/search/lib/Drupal/search/Tests/SearchKeywordsConditionsTest.php
.../lib/Drupal/search/Tests/SearchKeywordsConditionsTest.php
+1
-1
core/modules/search/lib/Drupal/search/Tests/SearchMatchTest.php
...odules/search/lib/Drupal/search/Tests/SearchMatchTest.php
+1
-1
core/modules/search/lib/Drupal/search/Tests/SearchMultilingualEntityTest.php
.../lib/Drupal/search/Tests/SearchMultilingualEntityTest.php
+1
-1
core/modules/search/lib/Drupal/search/Tests/SearchPageOverrideTest.php
...search/lib/Drupal/search/Tests/SearchPageOverrideTest.php
+1
-1
core/modules/search/lib/Drupal/search/Tests/SearchPageTextTest.php
...les/search/lib/Drupal/search/Tests/SearchPageTextTest.php
+1
-1
core/modules/search/lib/Drupal/search/Tests/SearchRankingTest.php
...ules/search/lib/Drupal/search/Tests/SearchRankingTest.php
+1
-1
core/modules/search/lib/Drupal/search/Tests/SearchTokenizerTest.php
...es/search/lib/Drupal/search/Tests/SearchTokenizerTest.php
+2
-2
core/modules/search/search.api.php
core/modules/search/search.api.php
+4
-4
core/modules/search/search.module
core/modules/search/search.module
+7
-7
core/modules/search/tests/modules/search_embedded_form/search_embedded_form.module
.../modules/search_embedded_form/search_embedded_form.module
+2
-2
core/modules/search/tests/modules/search_extra_type/search_extra_type.module
.../tests/modules/search_extra_type/search_extra_type.module
+2
-2
core/modules/shortcut/lib/Drupal/shortcut/Tests/ShortcutLinksTest.php
.../shortcut/lib/Drupal/shortcut/Tests/ShortcutLinksTest.php
+2
-2
core/modules/shortcut/shortcut.api.php
core/modules/shortcut/shortcut.api.php
+1
-1
core/modules/shortcut/shortcut.install
core/modules/shortcut/shortcut.install
+1
-1
core/modules/simpletest/lib/Drupal/simpletest/DrupalUnitTestBase.php
...s/simpletest/lib/Drupal/simpletest/DrupalUnitTestBase.php
+1
-1
core/modules/simpletest/lib/Drupal/simpletest/TestBase.php
core/modules/simpletest/lib/Drupal/simpletest/TestBase.php
+1
-1
core/modules/simpletest/lib/Drupal/simpletest/Tests/DrupalUnitTestBaseTest.php
...st/lib/Drupal/simpletest/Tests/DrupalUnitTestBaseTest.php
+1
-1
core/modules/simpletest/lib/Drupal/simpletest/Tests/SimpleTestTest.php
...simpletest/lib/Drupal/simpletest/Tests/SimpleTestTest.php
+1
-1
core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
.../modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
+4
-4
core/modules/simpletest/simpletest.module
core/modules/simpletest/simpletest.module
+2
-2
core/modules/statistics/lib/Drupal/statistics/Tests/StatisticsAdminTest.php
...stics/lib/Drupal/statistics/Tests/StatisticsAdminTest.php
+4
-4
core/modules/statistics/lib/Drupal/statistics/Tests/StatisticsLoggingTest.php
...ics/lib/Drupal/statistics/Tests/StatisticsLoggingTest.php
+2
-2
core/modules/statistics/lib/Drupal/statistics/Tests/StatisticsTestBase.php
...istics/lib/Drupal/statistics/Tests/StatisticsTestBase.php
+1
-1
core/modules/statistics/statistics.module
core/modules/statistics/statistics.module
+2
-2
core/modules/statistics/statistics.php
core/modules/statistics/statistics.php
+1
-1
core/modules/syslog/syslog.install
core/modules/syslog/syslog.install
+1
-1
core/modules/syslog/syslog.module
core/modules/syslog/syslog.module
+3
-3
core/modules/system/lib/Drupal/system/Access/CronAccessCheck.php
...dules/system/lib/Drupal/system/Access/CronAccessCheck.php
+1
-1
core/modules/system/lib/Drupal/system/Plugin/Core/Entity/DateFormat.php
...ystem/lib/Drupal/system/Plugin/Core/Entity/DateFormat.php
+1
-1
core/modules/system/lib/Drupal/system/Plugin/ImageToolkit/GDToolkit.php
...ystem/lib/Drupal/system/Plugin/ImageToolkit/GDToolkit.php
+3
-3
core/modules/system/lib/Drupal/system/Plugin/ImageToolkitManager.php
...s/system/lib/Drupal/system/Plugin/ImageToolkitManager.php
+1
-1
core/modules/system/lib/Drupal/system/Tests/Ajax/FrameworkTest.php
...les/system/lib/Drupal/system/Tests/Ajax/FrameworkTest.php
+1
-1
core/modules/system/lib/Drupal/system/Tests/Batch/PageTest.php
...modules/system/lib/Drupal/system/Tests/Batch/PageTest.php
+2
-2
core/modules/system/lib/Drupal/system/Tests/Bootstrap/PageCacheTest.php
...ystem/lib/Drupal/system/Tests/Bootstrap/PageCacheTest.php
+5
-5
core/modules/system/lib/Drupal/system/Tests/Common/FormatDateTest.php
.../system/lib/Drupal/system/Tests/Common/FormatDateTest.php
+1
-1
core/modules/system/lib/Drupal/system/Tests/Common/JavaScriptTest.php
.../system/lib/Drupal/system/Tests/Common/JavaScriptTest.php
+5
-5
core/modules/system/lib/Drupal/system/Tests/Common/RenderTest.php
...ules/system/lib/Drupal/system/Tests/Common/RenderTest.php
+1
-1
core/modules/system/lib/Drupal/system/Tests/Datetime/DrupalDateTimeTest.php
...m/lib/Drupal/system/Tests/Datetime/DrupalDateTimeTest.php
+3
-3
core/modules/system/lib/Drupal/system/Tests/File/DirectoryTest.php
...les/system/lib/Drupal/system/Tests/File/DirectoryTest.php
+2
-2
core/modules/system/lib/Drupal/system/Tests/File/NameMungingTest.php
...s/system/lib/Drupal/system/Tests/File/NameMungingTest.php
+2
-2
core/modules/system/lib/Drupal/system/Tests/File/RemoteFileDirectoryTest.php
.../lib/Drupal/system/Tests/File/RemoteFileDirectoryTest.php
+1
-1
core/modules/system/lib/Drupal/system/Tests/File/RemoteFileScanDirectoryTest.php
.../Drupal/system/Tests/File/RemoteFileScanDirectoryTest.php
+1
-1
core/modules/system/lib/Drupal/system/Tests/File/RemoteFileUnmanagedCopyTest.php
.../Drupal/system/Tests/File/RemoteFileUnmanagedCopyTest.php
+1
-1
core/modules/system/lib/Drupal/system/Tests/File/RemoteFileUnmanagedDeleteRecursiveTest.php
...tem/Tests/File/RemoteFileUnmanagedDeleteRecursiveTest.php
+1
-1
core/modules/system/lib/Drupal/system/Tests/File/RemoteFileUnmanagedDeleteTest.php
...rupal/system/Tests/File/RemoteFileUnmanagedDeleteTest.php
+1
-1
core/modules/system/lib/Drupal/system/Tests/File/RemoteFileUnmanagedSaveDataTest.php
...pal/system/Tests/File/RemoteFileUnmanagedSaveDataTest.php
+1
-1
core/modules/system/lib/Drupal/system/Tests/File/StreamWrapperTest.php
...system/lib/Drupal/system/Tests/File/StreamWrapperTest.php
+1
-1
core/modules/system/lib/Drupal/system/Tests/File/UnmanagedCopyTest.php
...system/lib/Drupal/system/Tests/File/UnmanagedCopyTest.php
+2
-2
core/modules/system/lib/Drupal/system/Tests/File/UnmanagedMoveTest.php
...system/lib/Drupal/system/Tests/File/UnmanagedMoveTest.php
+1
-1
core/modules/system/lib/Drupal/system/Tests/File/UnmanagedSaveDataTest.php
...em/lib/Drupal/system/Tests/File/UnmanagedSaveDataTest.php
+1
-1
core/modules/system/lib/Drupal/system/Tests/Installer/InstallerTranslationTest.php
...rupal/system/Tests/Installer/InstallerTranslationTest.php
+2
-2
core/modules/system/lib/Drupal/system/Tests/InstallerTest.php
.../modules/system/lib/Drupal/system/Tests/InstallerTest.php
+2
-2
core/modules/system/lib/Drupal/system/Tests/Mail/MailTest.php
.../modules/system/lib/Drupal/system/Tests/Mail/MailTest.php
+1
-1
core/modules/system/lib/Drupal/system/Tests/Menu/BreadcrumbTest.php
...es/system/lib/Drupal/system/Tests/Menu/BreadcrumbTest.php
+1
-1
core/modules/system/lib/Drupal/system/Tests/Menu/LocalTasksTest.php
...es/system/lib/Drupal/system/Tests/Menu/LocalTasksTest.php
+2
-2
core/modules/system/lib/Drupal/system/Tests/Menu/MenuRouterTest.php
...es/system/lib/Drupal/system/Tests/Menu/MenuRouterTest.php
+6
-6
core/modules/system/lib/Drupal/system/Tests/Menu/TrailTest.php
...modules/system/lib/Drupal/system/Tests/Menu/TrailTest.php
+1
-1
core/modules/system/lib/Drupal/system/Tests/Module/ModuleEnableTest.php
...ystem/lib/Drupal/system/Tests/Module/ModuleEnableTest.php
+1
-1
core/modules/system/lib/Drupal/system/Tests/Module/ModuleTestBase.php
.../system/lib/Drupal/system/Tests/Module/ModuleTestBase.php
+1
-1
core/modules/system/lib/Drupal/system/Tests/Path/MatchPathTest.php
...les/system/lib/Drupal/system/Tests/Path/MatchPathTest.php
+1
-1
core/modules/system/lib/Drupal/system/Tests/Path/UrlAlterFunctionalTest.php
...m/lib/Drupal/system/Tests/Path/UrlAlterFunctionalTest.php
+1
-1
core/modules/system/lib/Drupal/system/Tests/Session/SessionTest.php
...es/system/lib/Drupal/system/Tests/Session/SessionTest.php
+1
-1
core/modules/system/lib/Drupal/system/Tests/System/AccessDeniedTest.php
...ystem/lib/Drupal/system/Tests/System/AccessDeniedTest.php
+1
-1
core/modules/system/lib/Drupal/system/Tests/System/CronRunTest.php
...les/system/lib/Drupal/system/Tests/System/CronRunTest.php
+1
-1
core/modules/system/lib/Drupal/system/Tests/System/DateTimeTest.php
...es/system/lib/Drupal/system/Tests/System/DateTimeTest.php
+2
-2
core/modules/system/lib/Drupal/system/Tests/System/ErrorHandlerTest.php
...ystem/lib/Drupal/system/Tests/System/ErrorHandlerTest.php
+2
-2
core/modules/system/lib/Drupal/system/Tests/System/FrontPageTest.php
...s/system/lib/Drupal/system/Tests/System/FrontPageTest.php
+1
-1
core/modules/system/lib/Drupal/system/Tests/System/SiteMaintenanceTest.php
...em/lib/Drupal/system/Tests/System/SiteMaintenanceTest.php
+2
-2
core/modules/system/lib/Drupal/system/Tests/System/SystemConfigFormTestBase.php
...b/Drupal/system/Tests/System/SystemConfigFormTestBase.php
+1
-1
core/modules/system/lib/Drupal/system/Tests/System/ThemeTest.php
...dules/system/lib/Drupal/system/Tests/System/ThemeTest.php
+2
-2
core/modules/system/lib/Drupal/system/Tests/System/TokenReplaceTest.php
...ystem/lib/Drupal/system/Tests/System/TokenReplaceTest.php
+5
-5
core/modules/system/lib/Drupal/system/Tests/Theme/EntityFilteringThemeTest.php
...ib/Drupal/system/Tests/Theme/EntityFilteringThemeTest.php
+1
-1
core/modules/system/lib/Drupal/system/Tests/Theme/FunctionsTest.php
...es/system/lib/Drupal/system/Tests/Theme/FunctionsTest.php
+1
-1
core/modules/system/lib/Drupal/system/Tests/Theme/ThemeInfoStylesTest.php
...tem/lib/Drupal/system/Tests/Theme/ThemeInfoStylesTest.php
+1
-1
core/modules/system/lib/Drupal/system/Tests/Theme/ThemeTest.php
...odules/system/lib/Drupal/system/Tests/Theme/ThemeTest.php
+4
-4
core/modules/system/lib/Drupal/system/Tests/Theme/ThemeTestPhpTemplate.php
...em/lib/Drupal/system/Tests/Theme/ThemeTestPhpTemplate.php
+1
-1
core/modules/system/lib/Drupal/system/Tests/Theme/ThemeTestTwig.php
...es/system/lib/Drupal/system/Tests/Theme/ThemeTestTwig.php
+1
-1
core/modules/system/lib/Drupal/system/Tests/Theme/TwigDebugMarkupTest.php
...tem/lib/Drupal/system/Tests/Theme/TwigDebugMarkupTest.php
+1
-1
core/modules/system/lib/Drupal/system/Tests/Theme/TwigExtensionTest.php
...ystem/lib/Drupal/system/Tests/Theme/TwigExtensionTest.php
+2
-2
core/modules/system/lib/Drupal/system/Tests/Theme/TwigSettingsTest.php
...system/lib/Drupal/system/Tests/Theme/TwigSettingsTest.php
+1
-1
core/modules/system/lib/Drupal/system/Tests/Update/UpdateScriptTest.php
...ystem/lib/Drupal/system/Tests/Update/UpdateScriptTest.php
+3
-3
core/modules/system/lib/Drupal/system/Tests/Upgrade/BareMinimalUpgradePathTest.php
...rupal/system/Tests/Upgrade/BareMinimalUpgradePathTest.php
+2
-2
core/modules/system/lib/Drupal/system/Tests/Upgrade/BlockUpgradePathTest.php
.../lib/Drupal/system/Tests/Upgrade/BlockUpgradePathTest.php
+2
-2
core/modules/system/lib/Drupal/system/Tests/Upgrade/DateUpgradePathTest.php
...m/lib/Drupal/system/Tests/Upgrade/DateUpgradePathTest.php
+1
-1
core/modules/system/lib/Drupal/system/Tests/Upgrade/FieldUpgradePathTest.php
.../lib/Drupal/system/Tests/Upgrade/FieldUpgradePathTest.php
+4
-4
core/modules/system/lib/Drupal/system/Tests/Upgrade/ImageUpgradePathTest.php
.../lib/Drupal/system/Tests/Upgrade/ImageUpgradePathTest.php
+1
-1
core/modules/system/lib/Drupal/system/Tests/Upgrade/MailUpgradePathTest.php
...m/lib/Drupal/system/Tests/Upgrade/MailUpgradePathTest.php
+1
-1
core/modules/system/lib/Drupal/system/Tests/Upgrade/SystemUpgradePathTest.php
...lib/Drupal/system/Tests/Upgrade/SystemUpgradePathTest.php
+1
-1
core/modules/system/system.admin.inc
core/modules/system/system.admin.inc
+7
-7
core/modules/system/system.api.php
core/modules/system/system.api.php
+4
-4
core/modules/system/system.install
core/modules/system/system.install
+8
-8
core/modules/system/system.module
core/modules/system/system.module
+13
-13
core/modules/system/system.tokens.inc
core/modules/system/system.tokens.inc
+3
-3
core/modules/system/tests/modules/design_test/design_test.module
...dules/system/tests/modules/design_test/design_test.module
+1
-1
core/modules/system/tests/modules/form_test/lib/Drupal/form_test/FormTestArgumentsObject.php
...orm_test/lib/Drupal/form_test/FormTestArgumentsObject.php
+1
-1
core/modules/system/tests/modules/form_test/lib/Drupal/form_test/FormTestControllerObject.php
...rm_test/lib/Drupal/form_test/FormTestControllerObject.php
+1
-1
core/modules/system/tests/modules/form_test/lib/Drupal/form_test/FormTestObject.php
...modules/form_test/lib/Drupal/form_test/FormTestObject.php
+1
-1
core/modules/system/tests/modules/form_test/lib/Drupal/form_test/FormTestServiceObject.php
.../form_test/lib/Drupal/form_test/FormTestServiceObject.php
+1
-1
core/modules/system/tests/modules/menu_test/menu_test.module
core/modules/system/tests/modules/menu_test/menu_test.module
+3
-3
core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/plugin_test/mock_block/MockLayoutBlockDeriver.php
.../Plugin/plugin_test/mock_block/MockLayoutBlockDeriver.php
+1
-1
core/modules/system/tests/modules/system_mail_failure_test/lib/Drupal/system_mail_failure_test/TestPhpMailFailure.php
...ib/Drupal/system_mail_failure_test/TestPhpMailFailure.php
+1
-1
core/modules/system/tests/modules/update_script_test/update_script_test.install
...sts/modules/update_script_test/update_script_test.install
+1
-1
core/modules/taxonomy/lib/Drupal/taxonomy/TermFormController.php
...dules/taxonomy/lib/Drupal/taxonomy/TermFormController.php
+1
-1
core/modules/taxonomy/lib/Drupal/taxonomy/Tests/ThemeTest.php
.../modules/taxonomy/lib/Drupal/taxonomy/Tests/ThemeTest.php
+2
-2
core/modules/taxonomy/lib/Drupal/taxonomy/Tests/VocabularyTest.php
...les/taxonomy/lib/Drupal/taxonomy/Tests/VocabularyTest.php
+1
-1
core/modules/taxonomy/taxonomy.admin.inc
core/modules/taxonomy/taxonomy.admin.inc
+1
-1
core/modules/taxonomy/taxonomy.install
core/modules/taxonomy/taxonomy.install
+2
-2
core/modules/taxonomy/taxonomy.module
core/modules/taxonomy/taxonomy.module
+5
-5
core/modules/taxonomy/taxonomy.pages.inc
core/modules/taxonomy/taxonomy.pages.inc
+3
-3
core/modules/text/text.module
core/modules/text/text.module
+1
-1
core/modules/tracker/tracker.module
core/modules/tracker/tracker.module
+1
-1
core/modules/translation/translation.module
core/modules/translation/translation.module
+2
-2
core/modules/translation/translation.pages.inc
core/modules/translation/translation.pages.inc
+1
-1
core/modules/update/lib/Drupal/update/Tests/UpdateContribTest.php
...ules/update/lib/Drupal/update/Tests/UpdateContribTest.php
+10
-10
core/modules/update/lib/Drupal/update/Tests/UpdateCoreTest.php
...modules/update/lib/Drupal/update/Tests/UpdateCoreTest.php
+12
-12
core/modules/update/lib/Drupal/update/Tests/UpdateTestBase.php
...modules/update/lib/Drupal/update/Tests/UpdateTestBase.php
+2
-2
core/modules/update/lib/Drupal/update/Tests/UpdateUploadTest.php
...dules/update/lib/Drupal/update/Tests/UpdateUploadTest.php
+2
-2
core/modules/update/tests/modules/update_test/update_test.module
...dules/update/tests/modules/update_test/update_test.module
+3
-3
core/modules/update/update.api.php
core/modules/update/update.api.php
+1
-1
core/modules/update/update.authorize.inc
core/modules/update/update.authorize.inc
+4
-4
core/modules/update/update.compare.inc
core/modules/update/update.compare.inc
+1
-1
core/modules/update/update.fetch.inc
core/modules/update/update.fetch.inc
+4
-4
core/modules/update/update.manager.inc
core/modules/update/update.manager.inc
+2
-2
core/modules/update/update.module
core/modules/update/update.module
+3
-3
core/modules/update/update.report.inc
core/modules/update/update.report.inc
+1
-1
core/modules/user/lib/Drupal/user/Access/RegisterAccessCheck.php
...dules/user/lib/Drupal/user/Access/RegisterAccessCheck.php
+1
-1
core/modules/user/lib/Drupal/user/AccountFormController.php
core/modules/user/lib/Drupal/user/AccountFormController.php
+1
-1
core/modules/user/lib/Drupal/user/Plugin/Block/UserLoginBlock.php
...ules/user/lib/Drupal/user/Plugin/Block/UserLoginBlock.php
+1
-1
core/modules/user/lib/Drupal/user/Plugin/views/argument/Uid.php
...odules/user/lib/Drupal/user/Plugin/views/argument/Uid.php
+1
-1
core/modules/user/lib/Drupal/user/Plugin/views/argument_validator/User.php
.../lib/Drupal/user/Plugin/views/argument_validator/User.php
+1
-1
core/modules/user/lib/Drupal/user/RegisterFormController.php
core/modules/user/lib/Drupal/user/RegisterFormController.php
+2
-2
core/modules/user/lib/Drupal/user/Tests/UserAdminTest.php
core/modules/user/lib/Drupal/user/Tests/UserAdminTest.php
+2
-2
core/modules/user/lib/Drupal/user/Tests/UserAutocompleteTest.php
...dules/user/lib/Drupal/user/Tests/UserAutocompleteTest.php
+1
-1
core/modules/user/lib/Drupal/user/Tests/UserCancelTest.php
core/modules/user/lib/Drupal/user/Tests/UserCancelTest.php
+11
-11
core/modules/user/lib/Drupal/user/Tests/UserCreateFailMailTest.php
...les/user/lib/Drupal/user/Tests/UserCreateFailMailTest.php
+1
-1
core/modules/user/lib/Drupal/user/Tests/UserCreateTest.php
core/modules/user/lib/Drupal/user/Tests/UserCreateTest.php
+1
-1
core/modules/user/lib/Drupal/user/Tests/UserEditTest.php
core/modules/user/lib/Drupal/user/Tests/UserEditTest.php
+1
-1
core/modules/user/lib/Drupal/user/Tests/UserEditedOwnAccountTest.php
...s/user/lib/Drupal/user/Tests/UserEditedOwnAccountTest.php
+1
-1
core/modules/user/lib/Drupal/user/Tests/UserEntityCallbacksTest.php
...es/user/lib/Drupal/user/Tests/UserEntityCallbacksTest.php
+1
-1
core/modules/user/lib/Drupal/user/Tests/UserLoginTest.php
core/modules/user/lib/Drupal/user/Tests/UserLoginTest.php
+3
-3
core/modules/user/lib/Drupal/user/Tests/UserPasswordResetTest.php
...ules/user/lib/Drupal/user/Tests/UserPasswordResetTest.php
+3
-3
core/modules/user/lib/Drupal/user/Tests/UserRegistrationTest.php
...dules/user/lib/Drupal/user/Tests/UserRegistrationTest.php
+5
-5
core/modules/user/lib/Drupal/user/Tests/UserSignatureTest.php
.../modules/user/lib/Drupal/user/Tests/UserSignatureTest.php
+1
-1
core/modules/user/lib/Drupal/user/Tests/UserTimeZoneTest.php
core/modules/user/lib/Drupal/user/Tests/UserTimeZoneTest.php
+1
-1
core/modules/user/lib/Drupal/user/Tests/Views/BulkFormTest.php
...modules/user/lib/Drupal/user/Tests/Views/BulkFormTest.php
+1
-1
core/modules/user/lib/Drupal/user/Tests/Views/HandlerFieldUserNameTest.php
.../lib/Drupal/user/Tests/Views/HandlerFieldUserNameTest.php
+1
-1
core/modules/user/user.api.php
core/modules/user/user.api.php
+1
-1
core/modules/user/user.install
core/modules/user/user.install
+4
-4
core/modules/user/user.module
core/modules/user/user.module
+11
-11
core/modules/user/user.pages.inc
core/modules/user/user.pages.inc
+6
-6
core/modules/views/lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php
...b/Drupal/views/Plugin/views/display/DisplayPluginBase.php
+1
-1
core/modules/views/lib/Drupal/views/Plugin/views/display/Embed.php
...les/views/lib/Drupal/views/Plugin/views/display/Embed.php
+1
-1
core/modules/views/lib/Drupal/views/Plugin/views/field/FieldPluginBase.php
...s/lib/Drupal/views/Plugin/views/field/FieldPluginBase.php
+1
-1
core/modules/views/lib/Drupal/views/Tests/Handler/HandlerTest.php
...ules/views/lib/Drupal/views/Tests/Handler/HandlerTest.php
+4
-4
core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayExtenderTest.php
...ews/lib/Drupal/views/Tests/Plugin/DisplayExtenderTest.php
+1
-1
core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayTest.php
...dules/views/lib/Drupal/views/Tests/Plugin/DisplayTest.php
+3
-3
core/modules/views/lib/Drupal/views/Tests/ViewStorageTest.php
.../modules/views/lib/Drupal/views/Tests/ViewStorageTest.php
+3
-3
core/modules/views/lib/Drupal/views/Tests/Wizard/BasicTest.php
...modules/views/lib/Drupal/views/Tests/Wizard/BasicTest.php
+1
-1
core/modules/views/lib/Drupal/views/Tests/Wizard/ItemsPerPageTest.php
.../views/lib/Drupal/views/Tests/Wizard/ItemsPerPageTest.php
+1
-1
core/modules/views/lib/Drupal/views/ViewExecutable.php
core/modules/views/lib/Drupal/views/ViewExecutable.php
+3
-3
core/modules/views/tests/modules/views_test_data/views_test_data.install
...ews/tests/modules/views_test_data/views_test_data.install
+1
-1
core/modules/views/tests/modules/views_test_data/views_test_data.module
...iews/tests/modules/views_test_data/views_test_data.module
+2
-2
core/modules/views/views.module
core/modules/views/views.module
+3
-3
core/modules/views/views.theme.inc
core/modules/views/views.theme.inc
+1
-1
core/modules/views_ui/lib/Drupal/views_ui/Tests/DefaultViewsTest.php
...s/views_ui/lib/Drupal/views_ui/Tests/DefaultViewsTest.php
+1
-1
core/modules/views_ui/lib/Drupal/views_ui/Tests/DisplayExtenderUITest.php
...ws_ui/lib/Drupal/views_ui/Tests/DisplayExtenderUITest.php
+1
-1
core/modules/views_ui/lib/Drupal/views_ui/Tests/DisplayTest.php
...odules/views_ui/lib/Drupal/views_ui/Tests/DisplayTest.php
+2
-2
core/modules/views_ui/lib/Drupal/views_ui/Tests/OverrideDisplaysTest.php
...ews_ui/lib/Drupal/views_ui/Tests/OverrideDisplaysTest.php
+2
-2
core/modules/views_ui/lib/Drupal/views_ui/ViewEditFormController.php
...s/views_ui/lib/Drupal/views_ui/ViewEditFormController.php
+2
-2
core/modules/views_ui/lib/Drupal/views_ui/ViewFormControllerBase.php
...s/views_ui/lib/Drupal/views_ui/ViewFormControllerBase.php
+1
-1
core/modules/views_ui/lib/Drupal/views_ui/ViewPreviewFormController.php
...iews_ui/lib/Drupal/views_ui/ViewPreviewFormController.php
+1
-1
core/modules/views_ui/lib/Drupal/views_ui/ViewUI.php
core/modules/views_ui/lib/Drupal/views_ui/ViewUI.php
+1
-1
core/modules/views_ui/views_ui.theme.inc
core/modules/views_ui/views_ui.theme.inc
+1
-1
core/profiles/minimal/minimal.install
core/profiles/minimal/minimal.install
+1
-1
core/profiles/standard/standard.install
core/profiles/standard/standard.install
+4
-4
core/themes/bartik/bartik.theme
core/themes/bartik/bartik.theme
+2
-2
No files found.
core/includes/ajax.inc
View file @
3cf100df
...
...
@@ -332,7 +332,7 @@ function ajax_base_page_theme() {
// to see the default theme, token validation isn't required for that, and
// bypassing it allows most use-cases to work even when accessed from the
// page cache.
if
(
$theme
===
config
(
'system.theme'
)
->
get
(
'default'
)
||
drupal_valid_token
(
$token
,
$theme
))
{
if
(
$theme
===
Drupal
::
config
(
'system.theme'
)
->
get
(
'default'
)
||
drupal_valid_token
(
$token
,
$theme
))
{
return
$theme
;
}
}
...
...
@@ -368,7 +368,7 @@ function ajax_prepare_response($page_callback_result) {
break
;
case
MENU_SITE_OFFLINE
:
$commands
[]
=
ajax_command_alert
(
filter_xss_admin
(
t
(
config
(
'system.maintenance'
)
->
get
(
'message'
),
array
(
'@site'
=>
config
(
'system.site'
)
->
get
(
'name'
)))));
$commands
[]
=
ajax_command_alert
(
filter_xss_admin
(
t
(
Drupal
::
config
(
'system.maintenance'
)
->
get
(
'message'
),
array
(
'@site'
=>
Drupal
::
config
(
'system.site'
)
->
get
(
'name'
)))));
break
;
}
}
...
...
core/includes/authorize.inc
View file @
3cf100df
...
...
@@ -39,7 +39,7 @@ function authorize_filetransfer_form($form, &$form_state) {
if
(
isset
(
$form_state
[
'values'
][
'connection_settings'
][
'authorize_filetransfer_default'
]))
{
$authorize_filetransfer_default
=
$form_state
[
'values'
][
'connection_settings'
][
'authorize_filetransfer_default'
];
}
elseif
(
$authorize_filetransfer_default
=
config
(
'system.authorize'
)
->
get
(
'filetransfer_default'
));
elseif
(
$authorize_filetransfer_default
=
Drupal
::
config
(
'system.authorize'
)
->
get
(
'filetransfer_default'
));
else
{
$authorize_filetransfer_default
=
key
(
$available_backends
);
}
...
...
@@ -138,7 +138,7 @@ function authorize_filetransfer_form($form, &$form_state) {
* @see hook_filetransfer_backends()
*/
function
_authorize_filetransfer_connection_settings
(
$backend
)
{
$auth_connection_config
=
config
(
'system.authorize'
)
->
get
(
'filetransfer_connection_settings_'
.
$backend
);
$auth_connection_config
=
Drupal
::
config
(
'system.authorize'
)
->
get
(
'filetransfer_connection_settings_'
.
$backend
);
$defaults
=
$auth_connection_config
?
$auth_connection_config
:
array
();
$form
=
array
();
...
...
@@ -253,9 +253,9 @@ function authorize_filetransfer_form_submit($form, &$form_state) {
}
}
// Set this one as the default authorize method.
config
(
'system.authorize'
)
->
set
(
'filetransfer_default'
,
$filetransfer_backend
);
Drupal
::
config
(
'system.authorize'
)
->
set
(
'filetransfer_default'
,
$filetransfer_backend
);
// Save the connection settings minus the password.
config
(
'system.authorize'
)
->
set
(
'filetransfer_connection_settings_'
.
$filetransfer_backend
,
$connection_settings
);
Drupal
::
config
(
'system.authorize'
)
->
set
(
'filetransfer_connection_settings_'
.
$filetransfer_backend
,
$connection_settings
);
$filetransfer
=
authorize_get_filetransfer
(
$filetransfer_backend
,
$form_state
[
'values'
][
'connection_settings'
][
$filetransfer_backend
]);
...
...
core/includes/bootstrap.inc
View file @
3cf100df
...
...
@@ -1220,7 +1220,7 @@ function drupal_page_header() {
* response is sent.
*/
function
drupal_serve_page_from_cache
(
stdClass
$cache
,
Response
$response
,
Request
$request
)
{
$config
=
config
(
'system.performance'
);
$config
=
Drupal
::
config
(
'system.performance'
);
// First half: we must determine if we should be returning a 304.
...
...
@@ -1878,7 +1878,7 @@ function drupal_handle_request($test_only = FALSE) {
*/
function
drupal_get_user_timezone
()
{
global
$user
;
$config
=
config
(
'system.date'
);
$config
=
Drupal
::
config
(
'system.date'
);
if
(
$user
&&
$config
->
get
(
'timezone.user.configurable'
)
&&
$user
->
isAuthenticated
()
&&
$user
->
getTimezone
())
{
return
$user
->
getTimezone
();
...
...
@@ -1975,7 +1975,7 @@ function _drupal_bootstrap_configuration() {
// Load the procedural configuration system helper functions.
require_once
__DIR__
.
'/config.inc'
;
// Set the Drupal custom error handler. (requires config())
// Set the Drupal custom error handler. (requires
Drupal::
config())
set_error_handler
(
'_drupal_error_handler'
);
set_exception_handler
(
'_drupal_exception_handler'
);
...
...
@@ -2013,7 +2013,7 @@ function _drupal_bootstrap_page_cache() {
}
else
{
drupal_bootstrap
(
DRUPAL_BOOTSTRAP_VARIABLES
,
FALSE
);
$config
=
config
(
'system.performance'
);
$config
=
Drupal
::
config
(
'system.performance'
);
$cache_enabled
=
$config
->
get
(
'cache.page.use_internal'
);
}
...
...
@@ -2382,7 +2382,7 @@ function language($type) {
* name and its value is its configurability (TRUE/FALSE).
*/
function
language_types_get_all
()
{
$types
=
\
Drupal
::
config
(
'system.language.types'
)
->
get
(
'all'
);
$types
=
Drupal
::
config
(
'system.language.types'
)
->
get
(
'all'
);
return
$types
?
$types
:
array_keys
(
language_types_get_default
());
}
...
...
@@ -2442,7 +2442,7 @@ function language_list($flags = Language::STATE_CONFIGURABLE) {
// save the same object without data loss.
foreach
(
$language_entities
as
$langcode_config_name
)
{
$langcode
=
substr
(
$langcode_config_name
,
strlen
(
'language.entity.'
));
$info
=
config
(
$langcode_config_name
)
->
get
();
$info
=
Drupal
::
config
(
$langcode_config_name
)
->
get
();
$languages
[
$langcode
]
=
new
Language
(
array
(
'default'
=>
(
$info
[
'id'
]
==
$default
->
id
),
'name'
=>
$info
[
'label'
],
...
...
core/includes/common.inc
View file @
3cf100df
...
...
@@ -1860,7 +1860,7 @@ function drupal_pre_render_styles($elements) {
$css_assets
=
$elements
[
'#items'
];
// Aggregate the CSS if necessary, but only during normal site operation.
if
(
!
defined
(
'MAINTENANCE_MODE'
)
&&
config
(
'system.performance'
)
->
get
(
'css.preprocess'
))
{
if
(
!
defined
(
'MAINTENANCE_MODE'
)
&&
Drupal
::
config
(
'system.performance'
)
->
get
(
'css.preprocess'
))
{
$css_assets
=
\
Drupal
::
service
(
'asset.css.collection_optimizer'
)
->
optimize
(
$css_assets
);
}
return
\
Drupal
::
service
(
'asset.css.collection_renderer'
)
->
render
(
$css_assets
);
...
...
@@ -1883,7 +1883,7 @@ function drupal_clear_css_cache() {
*/
function
drupal_delete_file_if_stale
(
$uri
)
{
// Default stale file threshold is 30 days.
if
(
REQUEST_TIME
-
filemtime
(
$uri
)
>
config
(
'system.performance'
)
->
get
(
'stale_file_threshold'
))
{
if
(
REQUEST_TIME
-
filemtime
(
$uri
)
>
Drupal
::
config
(
'system.performance'
)
->
get
(
'stale_file_threshold'
))
{
file_unmanaged_delete
(
$uri
);
}
}
...
...
@@ -2487,7 +2487,7 @@ function drupal_pre_render_scripts($elements) {
// Aggregate the JavaScript if necessary, but only during normal site
// operation.
if
(
!
defined
(
'MAINTENANCE_MODE'
)
&&
config
(
'system.performance'
)
->
get
(
'js.preprocess'
))
{
if
(
!
defined
(
'MAINTENANCE_MODE'
)
&&
Drupal
::
config
(
'system.performance'
)
->
get
(
'js.preprocess'
))
{
$js_assets
=
\
Drupal
::
service
(
'asset.js.collection_optimizer'
)
->
optimize
(
$js_assets
);
}
return
\
Drupal
::
service
(
'asset.js.collection_renderer'
)
->
render
(
$js_assets
);
...
...
@@ -3119,7 +3119,7 @@ function _drupal_bootstrap_code() {
}
// Set the allowed protocols once we have the config available.
$allowed_protocols
=
\
Drupal
::
config
(
'system.filter'
)
->
get
(
'protocols'
);
$allowed_protocols
=
Drupal
::
config
(
'system.filter'
)
->
get
(
'protocols'
);
if
(
!
isset
(
$allowed_protocols
))
{
// filter_xss_admin() is called by the installer and update.php, in which
// case the configuration may not exist (yet). Provide a minimal default set
...
...
core/includes/config.inc
View file @
3cf100df
...
...
@@ -52,7 +52,7 @@ function config_uninstall_default_config($type, $name) {
$storage
=
drupal_container
()
->
get
(
'config.storage'
);
$config_names
=
$storage
->
listAll
(
$name
.
'.'
);
foreach
(
$config_names
as
$config_name
)
{
config
(
$config_name
)
->
delete
();
Drupal
::
config
(
$config_name
)
->
delete
();
}
}
...
...
@@ -72,8 +72,7 @@ function config_get_storage_names_with_prefix($prefix = '') {
* @code config('book.admin') @endcode will return a configuration object in
* which the book module can store its administrative settings.
*
* @deprecated This function has been replaced by the \Drupal::config() method.
* Use that instead.
* @deprecated as of Drupal 8.0. Use \Drupal::config() instead.
*
* @param string $name
* The name of the configuration object to retrieve. The name corresponds to
...
...
@@ -84,7 +83,7 @@ function config_get_storage_names_with_prefix($prefix = '') {
* A configuration object.
*/
function
config
(
$name
)
{
return
drupal_container
()
->
get
(
'config.factory'
)
->
get
(
$name
);
return
Drupal
::
config
(
$name
);
}
/**
...
...
@@ -92,7 +91,7 @@ function config($name) {
*
* This allows configuration objects to be created using special configuration
* contexts eg. global override free or locale using a user preferred language.
* Calling this function affects all subsequent calls to config() until
* Calling this function affects all subsequent calls to
Drupal::
config() until
* config_context_leave() is called.
*
* @see config_context_leave()
...
...
core/includes/entity.api.php
View file @
3cf100df
...
...
@@ -108,7 +108,7 @@ function hook_entity_bundle_create($entity_type, $bundle) {
*/
function
hook_entity_bundle_rename
(
$entity_type
,
$bundle_old
,
$bundle_new
)
{
// Update the settings associated with the bundle in my_module.settings.
$config
=
config
(
'my_module.settings'
);
$config
=
Drupal
::
config
(
'my_module.settings'
);
$bundle_settings
=
$config
->
get
(
'bundle_settings'
);
if
(
isset
(
$bundle_settings
[
$entity_type
][
$bundle_old
]))
{
$bundle_settings
[
$entity_type
][
$bundle_new
]
=
$bundle_settings
[
$entity_type
][
$bundle_old
];
...
...
@@ -129,7 +129,7 @@ function hook_entity_bundle_rename($entity_type, $bundle_old, $bundle_new) {
*/
function
hook_entity_bundle_delete
(
$entity_type
,
$bundle
)
{
// Remove the settings associated with the bundle in my_module.settings.
$config
=
config
(
'my_module.settings'
);
$config
=
Drupal
::
config
(
'my_module.settings'
);
$bundle_settings
=
$config
->
get
(
'bundle_settings'
);
if
(
isset
(
$bundle_settings
[
$entity_type
][
$bundle
]))
{
unset
(
$bundle_settings
[
$entity_type
][
$bundle
]);
...
...
core/includes/file.inc
View file @
3cf100df
...
...
@@ -312,7 +312,7 @@ function file_uri_target($uri) {
* 'public', 'private' or any other file scheme defined as the default.
*/
function
file_default_scheme
()
{
return
config
(
'system.file'
)
->
get
(
'default_scheme'
);
return
Drupal
::
config
(
'system.file'
)
->
get
(
'default_scheme'
);
}
/**
...
...
@@ -514,7 +514,7 @@ function file_prepare_directory(&$directory, $options = FILE_MODIFY_PERMISSIONS)
*/
function
file_ensure_htaccess
()
{
file_save_htaccess
(
'public://'
,
FALSE
);
$private_path
=
config
(
'system.file'
)
->
get
(
'path.private'
);
$private_path
=
Drupal
::
config
(
'system.file'
)
->
get
(
'path.private'
);
if
(
!
empty
(
$private_path
))
{
file_save_htaccess
(
'private://'
,
TRUE
);
}
...
...
@@ -801,7 +801,7 @@ function file_munge_filename($filename, $extensions, $alerts = TRUE) {
$original
=
$filename
;
// Allow potentially insecure uploads for very savvy users and admin
if
(
!
config
(
'system.file'
)
->
get
(
'allow_insecure_uploads'
))
{
if
(
!
Drupal
::
config
(
'system.file'
)
->
get
(
'allow_insecure_uploads'
))
{
// Remove any null bytes. See http://php.net/manual/en/security.filesystem.nullbytes.php
$filename
=
str_replace
(
chr
(
0
),
''
,
$filename
);
...
...
@@ -1271,13 +1271,13 @@ function drupal_chmod($uri, $mode = NULL) {
// that the octal permission numbers can be expressed as integers or strings
// and will be converted correctly in both cases.
if
(
is_dir
(
$uri
))
{
$mode
=
octdec
(
config
(
'system.file'
)
->
get
(
'chmod.directory'
));
$mode
=
octdec
(
Drupal
::
config
(
'system.file'
)
->
get
(
'chmod.directory'
));
if
(
!
$mode
)
{
$mode
=
0775
;
}
}
else
{
$mode
=
octdec
(
config
(
'system.file'
)
->
get
(
'chmod.file'
));
$mode
=
octdec
(
Drupal
::
config
(
'system.file'
)
->
get
(
'chmod.file'
));
if
(
!
$mode
)
{
$mode
=
0664
;
}
...
...
@@ -1455,7 +1455,7 @@ function drupal_mkdir($uri, $mode = NULL, $recursive = FALSE, $context = NULL) {
$mode
=
FALSE
;
// During early update there's no container.
if
(
is_object
(
Drupal
::
getContainer
()))
{
$mode
=
octdec
(
config
(
'system.file'
)
->
get
(
'chmod.directory'
));
$mode
=
octdec
(
Drupal
::
config
(
'system.file'
)
->
get
(
'chmod.directory'
));
}
if
(
!
$mode
)
{
$mode
=
0775
;
...
...
@@ -1607,7 +1607,7 @@ function drupal_tempnam($directory, $prefix) {
* A string containing the path to the temporary directory.
*/
function
file_directory_temp
()
{
$config
=
config
(
'system.file'
);
$config
=
Drupal
::
config
(
'system.file'
);
$temporary_directory
=
$config
->
get
(
'path.temporary'
);
if
(
empty
(
$temporary_directory
))
{
$temporary_directory
=
file_directory_os_temp
();
...
...
core/includes/form.inc
View file @
3cf100df
...
...
@@ -4574,7 +4574,7 @@ function form_process_weight($element) {
$element
[
'#is_weight'
]
=
TRUE
;
// If the number of options is small enough, use a select field.
$max_elements
=
config
(
'system.site'
)
->
get
(
'weight_select_max'
);
$max_elements
=
Drupal
::
config
(
'system.site'
)
->
get
(
'weight_select_max'
);
if
(
$element
[
'#delta'
]
<=
$max_elements
)
{
$element
[
'#type'
]
=
'select'
;
for
(
$n
=
(
-
1
*
$element
[
'#delta'
]);
$n
<=
$element
[
'#delta'
];
$n
++
)
{
...
...
core/includes/install.core.inc
View file @
3cf100df
...
...
@@ -2442,7 +2442,7 @@ function _install_configure_form($form, &$form_state, &$install_state) {
'#type'
=>
'select'
,
'#title'
=>
t
(
'Default country'
),
'#empty_value'
=>
''
,
'#default_value'
=>
config
(
'system.date'
)
->
get
(
'country.default'
),
'#default_value'
=>
Drupal
::
config
(
'system.date'
)
->
get
(
'country.default'
),
'#options'
=>
$countries
,
'#description'
=>
t
(
'Select the default country for the site.'
),
'#weight'
=>
0
,
...
...
@@ -2509,13 +2509,13 @@ function install_configure_form_validate($form, &$form_state) {
function
install_configure_form_submit
(
$form
,
&
$form_state
)
{
global
$user
;
config
(
'system.site'
)
Drupal
::
config
(
'system.site'
)
->
set
(
'name'
,
$form_state
[
'values'
][
'site_name'
])
->
set
(
'mail'
,
$form_state
[
'values'
][
'site_mail'
])
->
set
(
'langcode'
,
language_default
()
->
id
)
->
save
();
config
(
'system.date'
)
Drupal
::
config
(
'system.date'
)
->
set
(
'timezone.default'
,
$form_state
[
'values'
][
'date_default_timezone'
])
->
set
(
'country.default'
,
$form_state
[
'values'
][
'site_default_country'
])
->
save
();
...
...
@@ -2527,7 +2527,7 @@ function install_configure_form_submit($form, &$form_state) {
// Add the site maintenance account's email address to the list of
// addresses to be notified when updates are available, if selected.
if
(
$form_state
[
'values'
][
'update_status_module'
][
2
])
{
config
(
'update.settings'
)
->
set
(
'notification.emails'
,
array
(
$form_state
[
'values'
][
'account'
][
'mail'
]))
->
save
();
Drupal
::
config
(
'update.settings'
)
->
set
(
'notification.emails'
,
array
(
$form_state
[
'values'
][
'account'
][
'mail'
]))
->
save
();
}
}
...
...
core/includes/install.inc
View file @
3cf100df
...
...
@@ -633,7 +633,7 @@ function drupal_install_system() {
// reset first in order to allow config_install_default_config() to invoke
// config import callbacks.
// @todo Installation profiles may override the system.module config object.
config
(
'system.module'
)
Drupal
::
config
(
'system.module'
)
->
set
(
'enabled.system'
,
0
)
->
save
();
...
...
core/includes/language.inc
View file @
3cf100df
...
...
@@ -192,7 +192,7 @@ function language_types_get_configurable() {
*/
function
language_types_disable
(
$types
)
{
$configurable
=
language_types_get_configurable
();
config
(
'system.language.types'
)
->
set
(
'configurable'
,
array_diff
(
$configurable
,
$types
))
->
save
();
Drupal
::
config
(
'system.language.types'
)
->
set
(
'configurable'
,
array_diff
(
$configurable
,
$types
))
->
save
();
}
/**
...
...
@@ -252,7 +252,7 @@ function language_types_set(array $configurable_language_types) {
}
// Store the language type configuration.
$config
=
config
(
'system.language.types'
);
$config
=
Drupal
::
config
(
'system.language.types'
);
$config
->
set
(
'configurable'
,
array_keys
(
array_filter
(
$language_types
)))
->
save
();
$config
->
set
(
'all'
,
array_keys
(
$language_types
))
->
save
();
...
...
@@ -493,7 +493,7 @@ function language_negotiation_method_invoke($method_id, $method = NULL, $request
* A valid language code on success, FALSE otherwise.
*/
function
language_from_selected
(
$languages
)
{
$langcode
=
(
string
)
config
(
'language.negotiation'
)
->
get
(
'selected_langcode'
);
$langcode
=
(
string
)
Drupal
::
config
(
'language.negotiation'
)
->
get
(
'selected_langcode'
);
// Replace the site's default langcode by its real value.
if
(
$langcode
==
'site_default'
)
{
$langcode
=
language_default
()
->
id
;
...
...
core/includes/mail.inc
View file @
3cf100df
...
...
@@ -119,7 +119,7 @@
* accepted at php-level, which still doesn't guarantee it to be delivered.)
*/
function
drupal_mail
(
$module
,
$key
,
$to
,
$langcode
,
$params
=
array
(),
$from
=
NULL
,
$send
=
TRUE
)
{
$site_config
=
config
(
'system.site'
);
$site_config
=
Drupal
::
config
(
'system.site'
);
$site_mail
=
$site_config
->
get
(
'mail'
);
if
(
empty
(
$site_mail
))
{
$site_mail
=
ini_get
(
'sendmail_from'
);
...
...
@@ -268,7 +268,7 @@ function drupal_mail_system($module, $key) {
$id
=
$module
.
'_'
.
$key
;
$configuration
=
config
(
'system.mail'
)
->
get
(
'interface'
);
$configuration
=
Drupal
::
config
(
'system.mail'
)
->
get
(
'interface'
);
// Look for overrides for the default class, starting from the most specific
// id, and falling back to the module name.
...
...
core/includes/menu.inc
View file @
3cf100df
...
...
@@ -1821,7 +1821,7 @@ function menu_list_system_menus() {
* Returns an array of links to be rendered as the Main menu.
*/
function
menu_main_menu
()
{
$config
=
config
(
'menu.settings'
);
$config
=
Drupal
::
config
(
'menu.settings'
);
$menu_enabled
=
module_exists
(
'menu'
);
// When menu module is not enabled, we need a hardcoded default value.
$main_links_source
=
$menu_enabled
?
$config
->
get
(
'main_links'
)
:
'main'
;
...
...
@@ -1832,7 +1832,7 @@ function menu_main_menu() {
* Returns an array of links to be rendered as the Secondary links.
*/
function
menu_secondary_menu
()
{
$config
=
config
(
'menu.settings'
);
$config
=
Drupal
::
config
(
'menu.settings'
);
$menu_enabled
=
module_exists
(
'menu'
);
// When menu module is not enabled, we need a hardcoded default value.
$main_links_source
=
$menu_enabled
?
$config
->
get
(
'main_links'
)
:
'main'
;
...
...
@@ -2376,7 +2376,7 @@ function menu_set_active_menu_names($menu_names = NULL) {
$active
=
$menu_names
;
}
elseif
(
!
isset
(
$active
))
{
$config
=
config
(
'system.menu'
);
$config
=
Drupal
::
config
(
'system.menu'
);
$active
=
$config
->
get
(
'active_menus_default'
)
?:
array_keys
(
menu_list_system_menus
());
}
return
$active
;
...
...
@@ -3398,7 +3398,7 @@ function _menu_router_save($menu, $masks) {
*/
function
_menu_site_is_offline
(
$check_only
=
FALSE
)
{
// Check if site is in maintenance mode.
if
(
config
(
'system.maintenance'
)
->
get
(
'enabled'
))
{
if
(
Drupal
::
config
(
'system.maintenance'
)
->
get
(
'enabled'
))
{
if
(
user_access
(
'access site in maintenance mode'
))
{
// Ensure that the maintenance mode message is displayed only once
// (allowing for page redirects) and specifically suppress its display on
...
...
core/includes/module.inc
View file @
3cf100df
...
...
@@ -24,7 +24,7 @@
* @see list_themes()
*
* @todo There are too many layers/levels of caching involved for system_list()
* data. Consider to add a config($name, $cache = TRUE) argument to allow
* data. Consider to add a
Drupal::
config($name, $cache = TRUE) argument to allow
* callers like system_list() to force-disable a possible configuration
* storage controller cache or some other way to circumvent it/take it over.
*/
...
...
@@ -39,7 +39,7 @@ function system_list($type) {
'filepaths'
=>
array
(),
);
// Build a list of themes.
$enabled_themes
=
(
array
)
config
(
'system.theme'
)
->
get
(
'enabled'
);
$enabled_themes
=
(
array
)
Drupal
::
config
(
'system.theme'
)
->
get
(
'enabled'
);
// @todo Themes include all themes, including disabled/uninstalled. This
// system.theme.data state will go away entirely as soon as themes have
// a proper installation status.
...
...
@@ -324,7 +324,7 @@ function drupal_required_modules() {
*/
function
module_set_weight
(
$module
,
$weight
)
{
// Update the module weight in the config file that contains it.
$module_config
=
config
(
'system.module'
);
$module_config
=
Drupal
::
config
(
'system.module'
);
if
(
$module_config
->
get
(
"enabled.
$module
"
)
!==
NULL
)
{
$module_config
->
set
(
"enabled.
$module
"
,
$weight
)
...
...
@@ -345,7 +345,7 @@ function module_set_weight($module, $weight) {
$module_handler
->
setModuleList
(
$module_filenames
);
return
;
}
$disabled_config
=
config
(
'system.module.disabled'
);
$disabled_config
=
Drupal
::
config
(
'system.module.disabled'
);
if
(
$disabled_config
->
get
(
$module
)
!==
NULL
)
{
$disabled_config
->
set
(
$module
,
$weight
)
...
...
core/includes/path.inc
View file @
3cf100df
...
...
@@ -22,7 +22,7 @@ function drupal_is_front_page() {
$is_front_page
=
&
$drupal_static_fast
[
'is_front_page'
];
if
(
!
isset
(
$is_front_page
))
{
$is_front_page
=
(
current_path
()
==
config
(
'system.site'
)
->
get
(
'page.front'
));
$is_front_page
=
(
current_path
()
==
Drupal
::
config
(
'system.site'
)
->
get
(
'page.front'
));
}
return
$is_front_page
;
...
...
@@ -53,7 +53,7 @@ function drupal_match_path($path, $patterns) {
$replacements
=
array
(
'|'
,
'.*'
,
'\1'
.
preg_quote
(
config
(
'system.site'
)
->
get
(
'page.front'
),
'/'
)
.
'\2'
'\1'
.
preg_quote
(
Drupal
::
config
(
'system.site'
)
->
get
(
'page.front'
),
'/'
)
.
'\2'
);
$patterns_quoted
=
preg_quote
(
$patterns
,
'/'
);
$regexps
[
$patterns
]
=
'/^('
.
preg_replace
(
$to_replace
,
$replacements
,
$patterns_quoted
)
.
')$/'
;
...
...
core/includes/theme.inc
View file @
3cf100df
...
...
@@ -96,7 +96,7 @@ function drupal_theme_initialize() {
// Only select the user selected theme if it is available in the
// list of themes that can be accessed.
$theme
=
!
empty
(
$user
->
theme
)
&&
drupal_theme_access
(
$user
->
theme
)
?
$user
->
theme
:
config
(
'system.theme'
)
->
get
(
'default'
);
$theme
=
!
empty
(
$user
->
theme
)
&&
drupal_theme_access
(
$user
->
theme
)
?
$user
->
theme
:
Drupal
::
config
(
'system.theme'
)
->
get
(
'default'
);
// Allow modules to override the theme. Validation has already been performed
// inside menu_get_custom_theme(), so we do not need to check it again here.
...
...
@@ -1463,8 +1463,8 @@ function theme_settings_convert_to_config(array $theme_settings, Config $config)
*/
function
theme_enable
(
$theme_list
)
{
drupal_clear_css_cache
();
$theme_config
=
config
(
'system.theme'
);
$disabled_themes
=
config
(
'system.theme.disabled'
);
$theme_config
=
Drupal
::
config
(
'system.theme'
);
$disabled_themes
=
Drupal
::
config
(
'system.theme.disabled'
);
foreach
(
$theme_list
as
$key
)
{
// Throw an exception if the theme name is too long.
if
(
strlen
(
$key
)
>
DRUPAL_EXTENSION_NAME_MAX_LENGTH
)
{
...
...
@@ -1500,7 +1500,7 @@ function theme_enable($theme_list) {
*/
function
theme_disable
(
$theme_list
)
{
// Don't disable the default theme.
if
(
$pos
=
array_search
(
config
(
'system.theme'
)
->
get
(
'default'
),
$theme_list
)
!==
FALSE
)
{
if
(
$pos
=
array_search
(
Drupal
::
config
(
'system.theme'
)
->
get
(
'default'
),
$theme_list
)
!==
FALSE
)
{
unset
(
$theme_list
[
$pos
]);
if
(
empty
(
$theme_list
))
{
return
;
...
...
@@ -1509,8 +1509,8 @@ function theme_disable($theme_list) {
drupal_clear_css_cache
();
$theme_config
=
config
(
'system.theme'
);
$disabled_themes
=
config
(
'system.theme.disabled'
);
$theme_config
=
Drupal
::
config
(
'system.theme'
);
$disabled_themes
=
Drupal
::
config
(
'system.theme.disabled'
);
foreach
(
$theme_list
as
$key
)
{
// The value is not used; the weight is ignored for themes currently.
$theme_config
->
clear
(
"enabled.
$key
"
);
...
...
@@ -2551,7 +2551,7 @@ function template_preprocess_html(&$variables) {
drupal_add_html_head_link
(
array
(
'rel'
=>
'shortcut icon'
,
'href'
=>
drupal_strip_dangerous_protocols
(
$favicon
),
'type'
=>
$type
));
}
$site_config
=
config
(
'system.site'
);
$site_config
=
Drupal
::
config
(
'system.site'
);