Issue #1620010 by dawehner, ParisLiakos, plach, jibran: Move LANGUAGE constants to...
authorAlex Pott
Sat, 25 May 2013 20:12:45 +0000 (13:12 -0700)
committerAlex Pott
Sat, 25 May 2013 20:12:45 +0000 (13:12 -0700)
commitf2d710c60793dc8833061b8b8648f202705b7c90
treedcecbae78b9d0ccb3480370390fd972bdb9dc836
parent8cc75202e7e417f51199c1a903c42523a62a178e
Issue #1620010 by dawehner, ParisLiakos, plach, jibran: Move LANGUAGE constants to the Language class.
265 files changed:
core/includes/bootstrap.inc
core/includes/common.inc
core/includes/entity.inc
core/includes/form.inc
core/includes/language.inc
core/includes/menu.inc
core/includes/standard.inc
core/includes/theme.inc
core/lib/Drupal/Core/Condition/ConditionManager.php
core/lib/Drupal/Core/Datetime/DrupalDateTime.php
core/lib/Drupal/Core/Entity/DatabaseStorageController.php
core/lib/Drupal/Core/Entity/DatabaseStorageControllerNG.php
core/lib/Drupal/Core/Entity/Entity.php
core/lib/Drupal/Core/Entity/EntityAccessController.php
core/lib/Drupal/Core/Entity/EntityAccessControllerInterface.php
core/lib/Drupal/Core/Entity/EntityBCDecorator.php
core/lib/Drupal/Core/Entity/EntityFormController.php
core/lib/Drupal/Core/Entity/EntityFormControllerNG.php
core/lib/Drupal/Core/Entity/EntityManager.php
core/lib/Drupal/Core/Entity/EntityNG.php
core/lib/Drupal/Core/Entity/EntityRenderController.php
core/lib/Drupal/Core/EventSubscriber/FinishResponseSubscriber.php
core/lib/Drupal/Core/Language/Language.php
core/lib/Drupal/Core/Language/LanguageManager.php
core/lib/Drupal/Core/Path/AliasManager.php
core/lib/Drupal/Core/Path/Path.php
core/lib/Drupal/Core/TypedData/TranslatableInterface.php
core/lib/Drupal/Core/Validation/ConstraintManager.php
core/lib/Drupal/Core/Validation/DrupalTranslator.php
core/modules/aggregator/aggregator.install
core/modules/aggregator/lib/Drupal/aggregator/FeedFormController.php
core/modules/aggregator/lib/Drupal/aggregator/Plugin/AggregatorPluginManager.php
core/modules/aggregator/lib/Drupal/aggregator/Tests/AggregatorTestBase.php
core/modules/block/block.install
core/modules/block/custom_block/lib/Drupal/custom_block/CustomBlockFormController.php
core/modules/block/custom_block/lib/Drupal/custom_block/Tests/CustomBlockCreationTest.php
core/modules/block/custom_block/lib/Drupal/custom_block/Tests/CustomBlockSaveTest.php
core/modules/block/custom_block/lib/Drupal/custom_block/Tests/PageEditTest.php
core/modules/block/lib/Drupal/block/BlockFormController.php
core/modules/block/lib/Drupal/block/Plugin/Type/BlockManager.php
core/modules/block/lib/Drupal/block/Tests/BlockStorageUnitTest.php
core/modules/book/book.admin.inc
core/modules/book/book.module
core/modules/book/lib/Drupal/book/Tests/BookTest.php
core/modules/ckeditor/ckeditor.admin.inc
core/modules/ckeditor/lib/Drupal/ckeditor/Plugin/Editor/CKEditor.php
core/modules/comment/lib/Drupal/comment/CommentFormController.php
core/modules/comment/lib/Drupal/comment/Plugin/Core/Entity/Comment.php
core/modules/comment/lib/Drupal/comment/Tests/CommentAnonymousTest.php
core/modules/comment/lib/Drupal/comment/Tests/CommentCSSTest.php
core/modules/comment/lib/Drupal/comment/Tests/CommentInterfaceTest.php
core/modules/comment/lib/Drupal/comment/Tests/CommentLanguageTest.php
core/modules/comment/lib/Drupal/comment/Tests/CommentLinksTest.php
core/modules/comment/lib/Drupal/comment/Tests/CommentNewIndicatorTest.php
core/modules/comment/lib/Drupal/comment/Tests/CommentPreviewTest.php
core/modules/comment/lib/Drupal/comment/Tests/CommentTestBase.php
core/modules/comment/lib/Drupal/comment/Tests/CommentThreadingTest.php
core/modules/comment/lib/Drupal/comment/Tests/CommentTokenReplaceTest.php
core/modules/config/lib/Drupal/config/Tests/ConfigEntityTest.php
core/modules/contact/contact.install
core/modules/contact/lib/Drupal/contact/MessageFormController.php
core/modules/datetime/lib/Drupal/datetime/Tests/DatetimeFieldTest.php
core/modules/dblog/lib/Drupal/dblog/Tests/DbLogTest.php
core/modules/edit/lib/Drupal/edit/Tests/MetadataGeneratorTest.php
core/modules/editor/lib/Drupal/editor/Tests/EditIntegrationTest.php
core/modules/email/lib/Drupal/email/Tests/EmailFieldTest.php
core/modules/entity_reference/lib/Drupal/entity_reference/Tests/EntityReferenceAutoCreateTest.php
core/modules/entity_reference/lib/Drupal/entity_reference/Tests/EntityReferenceItemTest.php
core/modules/entity_reference/lib/Drupal/entity_reference/Tests/EntityReferenceSelectionAccessTest.php
core/modules/field/field.default.inc
core/modules/field/field.info.inc
core/modules/field/field.module
core/modules/field/field.multilingual.inc
core/modules/field/lib/Drupal/field/Plugin/views/field/Field.php
core/modules/field/lib/Drupal/field/Tests/BulkDeleteTest.php
core/modules/field/lib/Drupal/field/Tests/CrudTest.php
core/modules/field/lib/Drupal/field/Tests/DisplayApiTest.php
core/modules/field/lib/Drupal/field/Tests/FieldAttachOtherTest.php
core/modules/field/lib/Drupal/field/Tests/FieldAttachStorageTest.php
core/modules/field/lib/Drupal/field/Tests/FormTest.php
core/modules/field/lib/Drupal/field/Tests/TranslationTest.php
core/modules/field/lib/Drupal/field/Tests/TranslationWebTest.php
core/modules/field/lib/Drupal/field/Tests/Views/HandlerFieldFieldTest.php
core/modules/field_sql_storage/lib/Drupal/field_sql_storage/Tests/FieldSqlStorageTest.php
core/modules/field_ui/lib/Drupal/field_ui/Form/FieldInstanceEditForm.php
core/modules/field_ui/lib/Drupal/field_ui/Tests/FieldUiTestBase.php
core/modules/field_ui/lib/Drupal/field_ui/Tests/ManageFieldsTest.php
core/modules/file/lib/Drupal/file/FileStorageController.php
core/modules/file/lib/Drupal/file/Plugin/Core/Entity/File.php
core/modules/file/lib/Drupal/file/Tests/FileFieldDisplayTest.php
core/modules/file/lib/Drupal/file/Tests/FileFieldPathTest.php
core/modules/file/lib/Drupal/file/Tests/FileFieldRSSContentTest.php
core/modules/file/lib/Drupal/file/Tests/FileFieldRevisionTest.php
core/modules/file/lib/Drupal/file/Tests/FileFieldTestBase.php
core/modules/file/lib/Drupal/file/Tests/FileFieldValidateTest.php
core/modules/file/lib/Drupal/file/Tests/FileFieldWidgetTest.php
core/modules/file/lib/Drupal/file/Tests/FilePrivateTest.php
core/modules/file/lib/Drupal/file/Tests/FileTokenReplaceTest.php
core/modules/file/lib/Drupal/file/Tests/SaveTest.php
core/modules/filter/filter.module
core/modules/filter/lib/Drupal/filter/FilterPluginManager.php
core/modules/filter/lib/Drupal/filter/Tests/FilterAdminTest.php
core/modules/filter/lib/Drupal/filter/Tests/FilterFormatAccessTest.php
core/modules/filter/lib/Drupal/filter/Tests/FilterHooksTest.php
core/modules/filter/lib/Drupal/filter/Tests/FilterSecurityTest.php
core/modules/forum/lib/Drupal/forum/Tests/ForumBlockTest.php
core/modules/forum/lib/Drupal/forum/Tests/ForumIndexTest.php
core/modules/forum/lib/Drupal/forum/Tests/ForumNodeAccessTest.php
core/modules/forum/lib/Drupal/forum/Tests/ForumTest.php
core/modules/hal/lib/Drupal/hal/Normalizer/EntityNormalizer.php
core/modules/hal/lib/Drupal/hal/Normalizer/FieldNormalizer.php
core/modules/image/image.module
core/modules/image/lib/Drupal/image/Tests/ImageAdminStylesTest.php
core/modules/image/lib/Drupal/image/Tests/ImageFieldDisplayTest.php
core/modules/image/lib/Drupal/image/Tests/ImageFieldTestBase.php
core/modules/language/language.admin.inc
core/modules/language/language.module
core/modules/language/language.negotiation.inc
core/modules/language/lib/Drupal/language/Form/NegotiationSelectedForm.php
core/modules/language/lib/Drupal/language/Plugin/Condition/Language.php
core/modules/language/lib/Drupal/language/Tests/LanguageConfigurationElementTest.php
core/modules/language/lib/Drupal/language/Tests/LanguageConfigurationTest.php
core/modules/language/lib/Drupal/language/Tests/LanguageCustomLanguageConfigurationTest.php
core/modules/language/lib/Drupal/language/Tests/LanguageDependencyInjectionTest.php
core/modules/language/lib/Drupal/language/Tests/LanguageListTest.php
core/modules/language/lib/Drupal/language/Tests/LanguageNegotiationInfoTest.php
core/modules/language/lib/Drupal/language/Tests/LanguageSwitchingTest.php
core/modules/language/lib/Drupal/language/Tests/LanguageUILanguageNegotiationTest.php
core/modules/language/tests/language_test/language_test.module
core/modules/link/lib/Drupal/link/Tests/LinkFieldTest.php
core/modules/locale/lib/Drupal/locale/LocaleConfigSubscriber.php
core/modules/locale/lib/Drupal/locale/Tests/LocalePathTest.php
core/modules/locale/lib/Drupal/locale/Tests/LocaleTranslationTest.php
core/modules/locale/lib/Drupal/locale/Tests/LocaleUninstallTest.php
core/modules/locale/locale.bulk.inc
core/modules/locale/locale.install
core/modules/locale/locale.module
core/modules/locale/locale.pages.inc
core/modules/menu/lib/Drupal/menu/Tests/MenuNodeTest.php
core/modules/menu_link/lib/Drupal/menu_link/MenuLinkFormController.php
core/modules/node/lib/Drupal/node/NodeAccessController.php
core/modules/node/lib/Drupal/node/NodeFormController.php
core/modules/node/lib/Drupal/node/Tests/MultiStepNodeFormBasicOptionsTest.php
core/modules/node/lib/Drupal/node/Tests/NodeAccessFieldTest.php
core/modules/node/lib/Drupal/node/Tests/NodeAccessLanguageTest.php
core/modules/node/lib/Drupal/node/Tests/NodeAccessPagerTest.php
core/modules/node/lib/Drupal/node/Tests/NodeCreationTest.php
core/modules/node/lib/Drupal/node/Tests/NodeEntityFieldQueryAlterTest.php
core/modules/node/lib/Drupal/node/Tests/NodeEntityViewModeAlterTest.php
core/modules/node/lib/Drupal/node/Tests/NodeFieldMultilingualTestCase.php
core/modules/node/lib/Drupal/node/Tests/NodePostSettingsTest.php
core/modules/node/lib/Drupal/node/Tests/NodeRevisionsAllTestCase.php
core/modules/node/lib/Drupal/node/Tests/NodeRevisionsTest.php
core/modules/node/lib/Drupal/node/Tests/NodeTokenReplaceTest.php
core/modules/node/lib/Drupal/node/Tests/NodeTypeInitialLanguageTest.php
core/modules/node/lib/Drupal/node/Tests/PageEditTest.php
core/modules/node/lib/Drupal/node/Tests/PagePreviewTest.php
core/modules/node/lib/Drupal/node/Tests/Views/RowPluginTest.php
core/modules/node/node.admin.inc
core/modules/node/node.install
core/modules/node/node.module
core/modules/number/lib/Drupal/number/Tests/NumberFieldTest.php
core/modules/openid/openid.inc
core/modules/options/lib/Drupal/options/Tests/OptionsDynamicValuesValidationTest.php
core/modules/options/lib/Drupal/options/Tests/OptionsFieldTest.php
core/modules/options/lib/Drupal/options/Tests/OptionsWidgetsTest.php
core/modules/path/lib/Drupal/path/Tests/PathLanguageTest.php
core/modules/path/path.admin.inc
core/modules/path/path.module
core/modules/php/lib/Drupal/php/Tests/PhpFilterTest.php
core/modules/picture/lib/Drupal/picture/Tests/PictureFieldDisplayTest.php
core/modules/rdf/lib/Drupal/rdf/Tests/RdfaMarkupTest.php
core/modules/rdf/lib/Drupal/rdf/Tests/TrackerAttributesTest.php
core/modules/rest/lib/Drupal/rest/Tests/ReadTest.php
core/modules/search/lib/Drupal/search/Tests/SearchCommentCountToggleTest.php
core/modules/search/lib/Drupal/search/Tests/SearchCommentTest.php
core/modules/search/lib/Drupal/search/Tests/SearchConfigSettingsFormTest.php
core/modules/search/lib/Drupal/search/Tests/SearchMatchTest.php
core/modules/search/lib/Drupal/search/Tests/SearchNumberMatchingTest.php
core/modules/search/lib/Drupal/search/Tests/SearchNumbersTest.php
core/modules/search/lib/Drupal/search/Tests/SearchRankingTest.php
core/modules/search/search.pages.inc
core/modules/serialization/lib/Drupal/serialization/Tests/EntitySerializationTest.php
core/modules/simpletest/lib/Drupal/simpletest/TestBase.php
core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
core/modules/statistics/lib/Drupal/statistics/Tests/StatisticsTokenReplaceTest.php
core/modules/system/language.api.php
core/modules/system/lib/Drupal/system/Tests/Common/CascadingStylesheetsTest.php
core/modules/system/lib/Drupal/system/Tests/Common/FormatDateTest.php
core/modules/system/lib/Drupal/system/Tests/Entity/EntityCrudHookTest.php
core/modules/system/lib/Drupal/system/Tests/Entity/EntityFieldTest.php
core/modules/system/lib/Drupal/system/Tests/Entity/EntityFormTest.php
core/modules/system/lib/Drupal/system/Tests/Entity/EntityQueryTest.php
core/modules/system/lib/Drupal/system/Tests/Entity/EntityTranslationFormTest.php
core/modules/system/lib/Drupal/system/Tests/Entity/EntityTranslationTest.php
core/modules/system/lib/Drupal/system/Tests/Form/LanguageSelectElementTest.php
core/modules/system/lib/Drupal/system/Tests/Mail/MailTest.php
core/modules/system/lib/Drupal/system/Tests/Menu/BreadcrumbTest.php
core/modules/system/lib/Drupal/system/Tests/Path/AliasTest.php
core/modules/system/lib/Drupal/system/Tests/System/DateFormatsLanguageTest.php
core/modules/system/lib/Drupal/system/Tests/System/PageTitleFilteringTest.php
core/modules/system/lib/Drupal/system/Tests/System/TokenReplaceTest.php
core/modules/system/lib/Drupal/system/Tests/Upgrade/FieldUpgradePathTest.php
core/modules/system/lib/Drupal/system/Tests/Upgrade/LanguageUpgradePathTest.php
core/modules/system/lib/Drupal/system/Tests/Upgrade/UserPictureUpgradePathTest.php
core/modules/system/system.api.php
core/modules/system/system.install
core/modules/system/system.module
core/modules/system/tests/modules/entity_test/lib/Drupal/entity_test/EntityTestAccessController.php
core/modules/system/tests/modules/entity_test/lib/Drupal/entity_test/EntityTestFormController.php
core/modules/system/tests/modules/entity_test/lib/Drupal/entity_test/Plugin/Core/Entity/EntityTest.php
core/modules/system/tests/modules/form_test/form_test.module
core/modules/system/tests/modules/plugin_test/lib/Drupal/plugin_test/Plugin/CachedMockBlockManager.php
core/modules/system/tests/upgrade/drupal-7.language.database.php
core/modules/taxonomy/lib/Drupal/taxonomy/Plugin/Core/Entity/Term.php
core/modules/taxonomy/lib/Drupal/taxonomy/TermFormController.php
core/modules/taxonomy/lib/Drupal/taxonomy/Tests/LegacyTest.php
core/modules/taxonomy/lib/Drupal/taxonomy/Tests/RssTest.php
core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TaxonomyTermReferenceItemTest.php
core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TaxonomyTestBase.php
core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TermFieldMultipleVocabularyTest.php
core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TermFieldTest.php
core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TermIndexTest.php
core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TermTest.php
core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TermTranslationUITest.php
core/modules/taxonomy/lib/Drupal/taxonomy/Tests/TokenReplaceTest.php
core/modules/taxonomy/lib/Drupal/taxonomy/Tests/Views/TaxonomyTestBase.php
core/modules/taxonomy/lib/Drupal/taxonomy/VocabularyFormController.php
core/modules/text/lib/Drupal/text/Tests/Formatter/TextPlainUnitTest.php
core/modules/text/lib/Drupal/text/Tests/TextFieldTest.php
core/modules/text/lib/Drupal/text/Tests/TextTranslationTest.php
core/modules/toolbar/toolbar.module
core/modules/tracker/lib/Drupal/tracker/Tests/TrackerTest.php
core/modules/tracker/lib/Drupal/tracker/Tests/Views/TrackerTestBase.php
core/modules/translation/lib/Drupal/translation/Tests/TranslationTest.php
core/modules/translation/translation.module
core/modules/translation_entity/lib/Drupal/translation_entity/EntityTranslationController.php
core/modules/translation_entity/lib/Drupal/translation_entity/Tests/EntityTranslationSettingsTest.php
core/modules/translation_entity/lib/Drupal/translation_entity/Tests/EntityTranslationUITest.php
core/modules/translation_entity/lib/Drupal/translation_entity/Tests/EntityTranslationWorkflowsTest.php
core/modules/translation_entity/translation_entity.admin.inc
core/modules/translation_entity/translation_entity.install
core/modules/translation_entity/translation_entity.module
core/modules/translation_entity/translation_entity.pages.inc
core/modules/user/lib/Drupal/user/AccountFormController.php
core/modules/user/lib/Drupal/user/Plugin/Core/Entity/User.php
core/modules/user/lib/Drupal/user/Tests/UserCancelTest.php
core/modules/user/lib/Drupal/user/Tests/UserPictureTest.php
core/modules/user/lib/Drupal/user/Tests/UserRegistrationTest.php
core/modules/user/lib/Drupal/user/Tests/UserSignatureTest.php
core/modules/user/lib/Drupal/user/Tests/UserTokenReplaceTest.php
core/modules/user/user.install
core/modules/user/user.pages.inc
core/modules/views/lib/Drupal/views/Plugin/views/cache/CachePluginBase.php
core/modules/views/lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php
core/modules/views/lib/Drupal/views/Tests/DefaultViewsTest.php
core/modules/views/lib/Drupal/views/Tests/Wizard/TaggedWithTest.php
core/modules/views/lib/Drupal/views/ViewsData.php
core/modules/views/views.api.php
core/modules/views/views.module
core/modules/views/views.theme.inc
core/modules/views/views.views_execution.inc
core/modules/views_ui/tests/Drupal/views_ui/Tests/ViewUIObjectTest.php
core/tests/Drupal/Tests/Core/Entity/EntityAccessCheckTest.php
core/tests/Drupal/Tests/Core/Route/RoleAccessCheckTest.php