Search for prefix

  1. Search 7.x for prefix
  2. Search 9.5.x for prefix
  3. Search 10.3.x for prefix
  4. Search 11.x for prefix
  5. Other projects
Title Object type File name Summary
KernelTestBase::getDatabasePrefix function core/tests/Drupal/KernelTests/KernelTestBase.php
KeyValueExpirableFactory::SPECIFIC_PREFIX constant core/lib/Drupal/Core/KeyValueStore/KeyValueExpirableFactory.php The specific setting name prefix.
KeyValueFactory::SPECIFIC_PREFIX constant core/lib/Drupal/Core/KeyValueStore/KeyValueFactory.php The specific setting name prefix.
LanguageNegotiationUrl::CONFIG_PATH_PREFIX constant core/modules/language/src/Plugin/LanguageNegotiation/LanguageNegotiationUrl.php URL language negotiation: use the path prefix as URL language indicator.
LanguageNegotiationUrlTest::providerTestPathPrefix function core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php Provides data for the path prefix test.
LanguageNegotiationUrlTest::testPathPrefix function core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php Test path prefix language negotiation and outbound path processing.
LanguageServiceProvider::CONFIG_PREFIX constant core/modules/language/src/LanguageServiceProvider.php
language_negotiation_url_prefixes function core/modules/language/language.module Reads language prefixes and uses the langcode if no prefix is set.
language_negotiation_url_prefixes_update function core/modules/language/language.module Update the list of prefixes from the installed languages.
language_prefixes_and_domains.yml file core/modules/language/migrations/language_prefixes_and_domains.yml core/modules/language/migrations/language_prefixes_and_domains.yml
LayoutBuilderUiTest::FIELD_UI_PREFIX constant core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderUiTest.php Path prefix for the field UI for the test bundle.
ManageFieldsFunctionalTest::testFieldPrefix function core/modules/field_ui/tests/src/Functional/ManageFieldsFunctionalTest.php Tests that the 'field_prefix' setting works on Field UI.
MediaLibraryUpdateCheckboxClassesTest::testAddNonPrefixedClasses function core/modules/media_library/tests/src/Functional/Update/MediaLibraryUpdateCheckboxClassesTest.php Tests that non js prefixes are added to checkboxes in the media view.
MigrateLanguageNegotiationSettingsTest::testLanguageNegotiationWithDefaultPathPrefix function core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageNegotiationSettingsTest.php Tests the migration with LANGUAGE_NEGOTIATION_PATH_DEFAULT.
MigrateLanguageNegotiationSettingsTest::testLanguageNegotiationWithPathPrefix function core/modules/language/tests/src/Kernel/Migrate/d6/MigrateLanguageNegotiationSettingsTest.php Tests the migration with LANGUAGE_NEGOTIATION_PATH.
MigrateLanguageNegotiationSettingsTest::testLanguageNegotiationWithPrefix function core/modules/language/tests/src/Kernel/Migrate/d7/MigrateLanguageNegotiationSettingsTest.php Tests the migration with prefix negotiation.
MigrateSqlIdMapTest::testGetQualifiedMapTablePrefix function core/modules/migrate/tests/src/Unit/MigrateSqlIdMapTest.php Tests the getQualifiedMapTable method with a prefixed database.
ModuleVersion::CORE_PREFIX constant core/modules/update/src/ModuleVersion.php The '8.x-' prefix is used on contrib module version numbers.
ModuleVersionTest::providerInvalidBranchCorePrefix function core/modules/update/tests/src/Unit/ModuleVersionTest.php Data provider for testInvalidBranchCorePrefix().
ModuleVersionTest::providerInvalidVersionCorePrefix function core/modules/update/tests/src/Unit/ModuleVersionTest.php Data provider for testInvalidVersionCorePrefix().
ModuleVersionTest::testInvalidBranchCorePrefix function core/modules/update/tests/src/Unit/ModuleVersionTest.php @covers ::createFromSupportBranch
ModuleVersionTest::testInvalidVersionCorePrefix function core/modules/update/tests/src/Unit/ModuleVersionTest.php @covers ::createFromVersionString
MoveBlockFormTest::FIELD_UI_PREFIX constant core/modules/layout_builder/tests/src/FunctionalJavascript/MoveBlockFormTest.php Path prefix for the field UI for the test bundle.
PrefixInfoTest class core/tests/Drupal/KernelTests/Core/Database/PrefixInfoTest.php Tests that the prefix info for a database schema is correct.
PrefixInfoTest.php file core/tests/Drupal/KernelTests/Core/Database/PrefixInfoTest.php
PrefixInfoTest::testGetPrefixInfo function core/tests/Drupal/KernelTests/Core/Database/PrefixInfoTest.php Tests that DatabaseSchema::getPrefixInfo() returns the right database.
QueryFactory::CONFIG_LOOKUP_PREFIX constant core/lib/Drupal/Core/Config/Entity/Query/QueryFactory.php The prefix for the key value collection for fast lookups.
Registry::getPrefixGroupedUserFunctions function core/lib/Drupal/Core/Theme/Registry.php Gets all user functions grouped by the word before the first underscore.
RouteProvider::ROUTE_LOAD_CID_PREFIX constant core/lib/Drupal/Core/Routing/RouteProvider.php Cache ID prefix used to load routes.
Schema::getPrefixInfo function core/lib/Drupal/Core/Database/Driver/mysql/Schema.php Get information about the table and database name from the prefix.
Schema::getPrefixInfo function core/lib/Drupal/Core/Database/Schema.php Get information about the table name and schema from the prefix.
Schema::prefixNonTable function core/lib/Drupal/Core/Database/Schema.php Create names for indexes, primary keys and constraints.
SessionConfiguration::getUnprefixedName function core/lib/Drupal/Core/Session/SessionConfiguration.php Returns the session cookie name without the secure/insecure prefix.
Settings::getApcuPrefix function core/lib/Drupal/Core/Site/Settings.php Generates a prefix for APCu user cache keys.
SettingsTest::testGetApcuPrefix function core/tests/Drupal/Tests/Core/Site/SettingsTest.php Tests Settings::getApcuPrefix().
SqlContentEntityStorageSchema::getTemporaryTableMappingPrefix function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Gets a string to be used as a prefix for a temporary table mapping object.
TemporaryQueryGuard::addConditionFieldPrefix function core/modules/jsonapi/src/Access/TemporaryQueryGuard.php Prefixes all fields in an EntityConditionGroup.
TestBase::$databasePrefix property core/modules/simpletest/src/TestBase.php The database prefix of this test run.
TestBase::$originalPrefix property core/modules/simpletest/src/TestBase.php The original database prefix when running inside Simpletest.
TestBase::getDatabasePrefix function core/modules/simpletest/src/TestBase.php Gets the database prefix.
TestBase::prepareDatabasePrefix function core/modules/simpletest/src/TestBase.php Generates a database prefix for running tests.
TestDatabase::$databasePrefix property core/lib/Drupal/Core/Test/TestDatabase.php The test database prefix.
TestDatabase::getDatabasePrefix function core/lib/Drupal/Core/Test/TestDatabase.php Gets the test database prefix.
TestDatabaseTest::testConstructorNullPrefix function core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php Verify that a test lock is generated if there is no provided prefix.
TestMultiWidthLayoutsTest::FIELD_UI_PREFIX constant core/modules/layout_builder/tests/src/FunctionalJavascript/TestMultiWidthLayoutsTest.php Path prefix for the field UI for the test bundle.
TestSetupTrait::changeDatabasePrefix function core/lib/Drupal/Core/Test/TestSetupTrait.php Changes the database connection to the prefixed one.
TestSetupTrait::prepareDatabasePrefix function core/lib/Drupal/Core/Test/TestSetupTrait.php Generates a database prefix for running tests.
TestSetupTraitTest::testChangeDatabasePrefix function core/tests/Drupal/Tests/Core/Test/TestSetupTraitTest.php Tests the SIMPLETEST_DB environment variable is used.
TestSiteApplicationTest::testTearDownDbPrefixValidation function core/tests/Drupal/Tests/Scripts/TestSiteApplicationTest.php @coversNothing
TestSiteInstallCommand::$databasePrefix property core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php The database prefix of this test run.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.