Search for prefix

  1. Search 7.x for prefix
  2. Search 9.5.x for prefix
  3. Search 8.9.x for prefix
  4. Search 10.3.x for prefix
  5. Other projects
Title Object type File name Summary
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.
SchemaUniquePrefixedKeysIndexTest class core/modules/sqlite/tests/src/Kernel/sqlite/SchemaUniquePrefixedKeysIndexTest.php Tests adding UNIQUE keys to tables.
SchemaUniquePrefixedKeysIndexTest class core/modules/mysql/tests/src/Kernel/mysql/SchemaUniquePrefixedKeysIndexTest.php Tests adding UNIQUE keys to tables.
SchemaUniquePrefixedKeysIndexTest class core/modules/pgsql/tests/src/Kernel/pgsql/SchemaUniquePrefixedKeysIndexTest.php Tests adding UNIQUE keys to tables.
SchemaUniquePrefixedKeysIndexTest.php file core/modules/sqlite/tests/src/Kernel/sqlite/SchemaUniquePrefixedKeysIndexTest.php
SchemaUniquePrefixedKeysIndexTest.php file core/modules/mysql/tests/src/Kernel/mysql/SchemaUniquePrefixedKeysIndexTest.php
SchemaUniquePrefixedKeysIndexTest.php file core/modules/pgsql/tests/src/Kernel/pgsql/SchemaUniquePrefixedKeysIndexTest.php
SchemaUniquePrefixedKeysIndexTest::$columnValue property core/modules/sqlite/tests/src/Kernel/sqlite/SchemaUniquePrefixedKeysIndexTest.php Set the value used to test the schema unique prefixed keys index.
SchemaUniquePrefixedKeysIndexTest::$columnValue property core/modules/mysql/tests/src/Kernel/mysql/SchemaUniquePrefixedKeysIndexTest.php Set the value used to test the schema unique prefixed keys index.
SchemaUniquePrefixedKeysIndexTest::$columnValue property core/modules/pgsql/tests/src/Kernel/pgsql/SchemaUniquePrefixedKeysIndexTest.php Set the value used to test the schema unique prefixed keys index.
SchemaUniquePrefixedKeysIndexTestBase class core/tests/Drupal/KernelTests/Core/Database/SchemaUniquePrefixedKeysIndexTestBase.php Tests adding UNIQUE keys to tables.
SchemaUniquePrefixedKeysIndexTestBase.php file core/tests/Drupal/KernelTests/Core/Database/SchemaUniquePrefixedKeysIndexTestBase.php
SchemaUniquePrefixedKeysIndexTestBase::$columnValue property core/tests/Drupal/KernelTests/Core/Database/SchemaUniquePrefixedKeysIndexTestBase.php Set the value used to test the schema unique prefixed keys index.
SchemaUniquePrefixedKeysIndexTestBase::checkUniqueConstraintException function core/tests/Drupal/KernelTests/Core/Database/SchemaUniquePrefixedKeysIndexTestBase.php Verifies that inserting the same value/prefix twice causes an exception.
SchemaUniquePrefixedKeysIndexTestBase::testAddField function core/tests/Drupal/KernelTests/Core/Database/SchemaUniquePrefixedKeysIndexTestBase.php Tests adding a new field with UNIQUE key.
SchemaUniquePrefixedKeysIndexTestBase::testAddUniqueKey function core/tests/Drupal/KernelTests/Core/Database/SchemaUniquePrefixedKeysIndexTestBase.php Tests adding a UNIQUE key to an existing table.
SchemaUniquePrefixedKeysIndexTestBase::testChangeField function core/tests/Drupal/KernelTests/Core/Database/SchemaUniquePrefixedKeysIndexTestBase.php Tests changing a field to add a UNIQUE key.
SchemaUniquePrefixedKeysIndexTestBase::testCreateTable function core/tests/Drupal/KernelTests/Core/Database/SchemaUniquePrefixedKeysIndexTestBase.php Tests UNIQUE keys put directly on the table definition.
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().
SimpletestTestRunResultsStorage::setDatabasePrefix function core/lib/Drupal/Core/Test/SimpletestTestRunResultsStorage.php Sets the test database prefix of a test run in storage.
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.
StageBase::TEMPSTORE_DESTROYED_STAGES_INFO_PREFIX constant core/modules/package_manager/src/StageBase.php The tempstore key for information about previously destroyed stages.
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.
TestRun::$databasePrefix property core/lib/Drupal/Core/Test/TestRun.php The test database prefix.
TestRun::getDatabasePrefix function core/lib/Drupal/Core/Test/TestRun.php Gets the test database prefix.
TestRun::setDatabasePrefix function core/lib/Drupal/Core/Test/TestRun.php Sets the test database prefix.
TestRunResultsStorageInterface::setDatabasePrefix function core/lib/Drupal/Core/Test/TestRunResultsStorageInterface.php Sets the test database prefix of a test run in storage.
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.
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
TestSiteApplicationTest::testTearDownDbPrefixValidation function core/tests/Drupal/KernelTests/Scripts/TestSiteApplicationTest.php @coversNothing
TestSiteInstallCommand::changeDatabasePrefix function core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php
TestSiteInstallCommand::prepareDatabasePrefix function core/tests/Drupal/TestSite/Commands/TestSiteInstallCommand.php Generates a database prefix for running tests.
Token::findWithPrefix function core/lib/Drupal/Core/Utility/Token.php Returns a list of tokens that begin with a specific prefix.
TwigEnvironment::$twigCachePrefix property core/lib/Drupal/Core/Template/TwigEnvironment.php The template cache filename prefix.
TwigEnvironment::CACHE_PREFIX_METADATA_KEY constant core/lib/Drupal/Core/Template/TwigEnvironment.php Key name of the Twig cache prefix metadata key-value pair in State.
TwigEnvironment::getTwigCachePrefix function core/lib/Drupal/Core/Template/TwigEnvironment.php Get the cache prefixed used by \Drupal\Core\Template\TwigPhpStorageCache.
TwigEnvironmentTest::testTwigFilePrefixChange function core/tests/Drupal/KernelTests/Core/Theme/TwigEnvironmentTest.php Test twig file prefix change.

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