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 11.x for prefix
  5. Other projects
Title Object type File name Summary
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.
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
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.
TwigPhpStorageCache::$templateCacheFilenamePrefix property core/lib/Drupal/Core/Template/TwigPhpStorageCache.php The template cache filename prefix.
TwigSandboxPolicy::$allowed_prefixes property core/lib/Drupal/Core/Template/TwigSandboxPolicy.php
TwigSandboxTest::testEntitySafePrefixes function core/tests/Drupal/Tests/Core/Template/TwigSandboxTest.php Tests that prefixed methods can be called from within Twig templates.
UrlHelperTest::dataEnhanceWithPrefix function core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php Enhances test URLs with prefixes.
UserPasswordResetTest::languagePrefixTestProvider function core/modules/user/tests/src/Functional/UserPasswordResetTest.php Provides scenarios for testUserPasswordResetPreferredLanguage().

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