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
ApcuBackend::$binPrefix property core/lib/Drupal/Core/Cache/ApcuBackend.php Prefix for all keys in this cache bin.
ApcuBackend::$sitePrefix property core/lib/Drupal/Core/Cache/ApcuBackend.php Prefix for all keys in the storage that belong to this site.
ApcuBackendFactory::$sitePrefix property core/lib/Drupal/Core/Cache/ApcuBackendFactory.php The site prefix string.
BrowserTestBase::$databasePrefix property core/tests/Drupal/Tests/BrowserTestBase.php The database prefix of this test run.
CachedStorage::$findByPrefixCache property core/lib/Drupal/Core/Config/CachedStorage.php List of listAll() prefixes with their results.
CachedStorage::findByPrefix function core/lib/Drupal/Core/Config/CachedStorage.php Finds configuration object names starting with a given prefix.
CachedStorage::getCollectionPrefix function core/lib/Drupal/Core/Config/CachedStorage.php Returns a cache ID prefix to use for the collection.
ChainedFastBackend::LAST_WRITE_TIMESTAMP_PREFIX constant core/lib/Drupal/Core/Cache/ChainedFastBackend.php Cache key prefix for the bin-specific entry to track the last write.
ClassLoaderTest::$apcuEnsureUniquePrefix property core/modules/system/tests/src/Functional/Module/ClassLoaderTest.php The flag to set 'apcu_ensure_unique_prefix' setting.
CommentVariable::commentPrefixes function core/modules/comment/src/Plugin/migrate/source/d6/CommentVariable.php Comment related data for fields.
ConfigEntityStorage::getPrefix function core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php Returns the prefix used to create the configuration name.
ConfigEntityType::$config_prefix property core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php The config prefix set in the configuration entity type annotation.
ConfigEntityType::getConfigPrefix function core/lib/Drupal/Core/Config/Entity/ConfigEntityType.php Gets the config prefix used by the configuration entity type.
ConfigEntityTypeInterface::getConfigPrefix function core/lib/Drupal/Core/Config/Entity/ConfigEntityTypeInterface.php Gets the config prefix used by the configuration entity type.
ConfigEntityTypeInterface::PREFIX_LENGTH constant core/lib/Drupal/Core/Config/Entity/ConfigEntityTypeInterface.php Length limit of the configuration entity prefix.
ConfigEntityTypeTest::providerTestGetConfigPrefix function core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityTypeTest.php Provides test data.
ConfigEntityTypeTest::testConfigPrefixLengthExceeds function core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityTypeTest.php Tests that we get an exception when the length of the config prefix that is
returned by getConfigPrefix() exceeds the maximum defined prefix length.
ConfigEntityTypeTest::testConfigPrefixLengthValid function core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityTypeTest.php Tests that a valid config prefix returned by getConfigPrefix()
does not throw an exception and is formatted as expected.
ConfigEntityTypeTest::testGetConfigPrefix function core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityTypeTest.php Tests the getConfigPrefix() method.
ConfigPrefixLengthException class core/lib/Drupal/Core/Config/ConfigPrefixLengthException.php Exception thrown when the config prefix length is exceeded.
ConfigPrefixLengthException.php file core/lib/Drupal/Core/Config/ConfigPrefixLengthException.php
Connection::$prefixes property core/lib/Drupal/Core/Database/Connection.php The prefixes used by this database connection.
Connection::$prefixReplace property core/lib/Drupal/Core/Database/Connection.php List of replacement values for use in prefixTables().
Connection::$prefixSearch property core/lib/Drupal/Core/Database/Connection.php List of search values for use in prefixTables().
Connection::$unprefixedTablesMap property core/lib/Drupal/Core/Database/Connection.php List of un-prefixed table names, keyed by prefixed table names.
Connection::getUnprefixedTablesMap function core/lib/Drupal/Core/Database/Connection.php Gets a list of individually prefixed table names.
Connection::prefixTables function core/lib/Drupal/Core/Database/Connection.php Appends a database prefix to all tables in a query.
Connection::setPrefix function core/lib/Drupal/Core/Database/Connection.php Set the list of prefixes used by this database connection.
Connection::tablePrefix function core/lib/Drupal/Core/Database/Connection.php Find the prefix for a table.
ConnectionTest::providerPrefixRoundTrip function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Dataprovider for testPrefixRoundTrip().
ConnectionTest::providerTestPrefixTables function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Dataprovider for testPrefixTables().
ConnectionTest::testPrefixRoundTrip function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Exercise setPrefix() and tablePrefix().
ConnectionTest::testPrefixTables function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Exercise the prefixTables() method.
CrudTest::$prefix property core/modules/rdf/tests/src/Kernel/CrudTest.php
DbCommandBaseTest::testPrefix function core/modules/system/tests/src/Kernel/Scripts/DbCommandBaseTest.php Test specifying a prefix for different connections.
DefaultTableMapping::$prefix property core/lib/Drupal/Core/Entity/Sql/DefaultTableMapping.php The prefix to be used by all the tables of this mapping.
field_test_query_efq_table_prefixing_test_alter function core/modules/field/tests/modules/field_test/field_test.module Implements hook_query_TAG_alter() for tag 'efq_table_prefixing_test'.
FileCache::$prefix property core/lib/Drupal/Component/FileCache/FileCache.php Prefix that is used for cache entries.
FileCacheFactory::$prefix property core/lib/Drupal/Component/FileCache/FileCacheFactory.php The cache prefix.
FileCacheFactory::getPrefix function core/lib/Drupal/Component/FileCache/FileCacheFactory.php Returns the cache prefix.
FileCacheFactory::setPrefix function core/lib/Drupal/Component/FileCache/FileCacheFactory.php Sets the cache prefix that should be used.
FileCacheFactoryTest::testGetNoPrefix function core/tests/Drupal/Tests/Component/FileCache/FileCacheFactoryTest.php @covers ::get
FileCacheFactoryTest::testGetSetPrefix function core/tests/Drupal/Tests/Component/FileCache/FileCacheFactoryTest.php @covers ::getPrefix
@covers ::setPrefix
FilterTest::testInvalidFilterPathDueMissingMetaPrefixReferenceFieldWithMetaProperties function core/modules/jsonapi/tests/src/Kernel/Query/FilterTest.php @covers ::queryCondition
Fixtures::$randomPrefix property core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Fixtures.php Keep a persistent prefix to help group our tmp directories together.
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 Test 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.
KernelTestBase::$databasePrefix property core/tests/Drupal/KernelTests/KernelTestBase.php

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