Search for prefix

  1. Search 7.x for prefix
  2. Search 8.9.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
Fixtures::persistentPrefix function core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Fixtures.php Generates a persistent prefix to use with all of our temporary directories.
FunctionalTestSetupTrait::$apcuEnsureUniquePrefix property core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php The flag to set 'apcu_ensure_unique_prefix' setting.
GlossaryViewTest::testGlossaryLanguagePrefix function core/modules/views/tests/src/FunctionalJavascript/GlossaryViewTest.php Tests that the glossary also works on a language prefixed URL.
InlineBlockTestBase::FIELD_UI_PREFIX constant core/modules/layout_builder/tests/src/FunctionalJavascript/InlineBlockTestBase.php Path prefix for the field UI for the test bundle.
InstallerWithTablePrefixArrayTest class core/tests/Drupal/FunctionalTests/Installer/InstallerWithTablePrefixArrayTest.php Tests the interactive installer with deprecated table prefix array.
InstallerWithTablePrefixArrayTest.php file core/tests/Drupal/FunctionalTests/Installer/InstallerWithTablePrefixArrayTest.php
InstallerWithTablePrefixArrayTest::$defaultTheme property core/tests/Drupal/FunctionalTests/Installer/InstallerWithTablePrefixArrayTest.php The theme to install as the default for testing.
InstallerWithTablePrefixArrayTest::testInstall function core/tests/Drupal/FunctionalTests/Installer/InstallerWithTablePrefixArrayTest.php Ensures that the status report raises the warning after installation.
KernelTestBase::$databasePrefix property core/tests/Drupal/KernelTests/KernelTestBase.php
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.
LanguageNegotiationMethodManager::$cacheKeyPrefix property core/modules/language/src/LanguageNegotiationMethodManager.php The cache key 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 Tests path prefix language negotiation and outbound path processing.
LanguageServiceProvider::CONFIG_PREFIX constant core/modules/language/src/LanguageServiceProvider.php
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.
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
PrefixInfoTest class core/modules/mysql/tests/src/Kernel/mysql/PrefixInfoTest.php Tests that the prefix info for a database schema is correct.
PrefixInfoTest.php file core/modules/mysql/tests/src/Kernel/mysql/PrefixInfoTest.php
PrefixInfoTest::testGetPrefixInfo function core/modules/mysql/tests/src/Kernel/mysql/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/modules/mysql/src/Driver/Database/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.
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.
TestSetupTrait::$databasePrefix property core/lib/Drupal/Core/Test/TestSetupTrait.php The database prefix of this test run.
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.

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