Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Search 11.x for all
  6. Other projects
Title Object type File name Summary
print.css file core/misc/print.css body {
margin: 1em;
background-color: #fff;
}
[dir="rtl"] body {
direction: rtl;
}
th {
text-align: left; /* LTR */
color: #006;
border-bottom: 1px solid #ccc;
}
[dir="rtl"] th {
text-align: right;
}
tr:nth-child(odd)…
print.pcss.css file core/themes/claro/css/base/print.pcss.css @media print {
* {
/* Black prints faster */
/* https://github.com/h5bp/main.css/blob/main/dist/_print.css#L14 */
color: #000 !important;
background-color: transparent !important;
box-shadow: none !important;
text-shadow:…
print.pcss.css file core/themes/admin/css/base/print.pcss.css @media print {
* {
/* Black prints faster */
/* https://github.com/h5bp/main.css/blob/main/dist/_print.css#L14 */
color: #000 !important;
background-color: transparent !important;
box-shadow: none !important;
text-shadow:…
print.pcss.css file core/themes/default_admin/css/base/print.pcss.css @media print {
* {
/* Black prints faster */
/* https://github.com/h5bp/main.css/blob/main/dist/_print.css#L14 */
color: #000 !important;
background-color: transparent !important;
box-shadow: none !important;
text-shadow:…
PrivateFileOnTranslatedEntityTest class core/modules/file/tests/src/Functional/PrivateFileOnTranslatedEntityTest.php Uploads private files to translated node and checks access.
PrivateFileOnTranslatedEntityTest.php file core/modules/file/tests/src/Functional/PrivateFileOnTranslatedEntityTest.php
PrivateFileOnTranslatedEntityTest::$defaultTheme property core/modules/file/tests/src/Functional/PrivateFileOnTranslatedEntityTest.php The theme to install as the default for testing.
PrivateFileOnTranslatedEntityTest::$fieldName property core/modules/file/tests/src/Functional/PrivateFileOnTranslatedEntityTest.php The name of the file field used in the test.
PrivateFileOnTranslatedEntityTest::$modules property core/modules/file/tests/src/Functional/PrivateFileOnTranslatedEntityTest.php Modules to install.
PrivateFileOnTranslatedEntityTest::setUp function core/modules/file/tests/src/Functional/PrivateFileOnTranslatedEntityTest.php
PrivateFileOnTranslatedEntityTest::testPrivateLanguageFile function core/modules/file/tests/src/Functional/PrivateFileOnTranslatedEntityTest.php Tests private file fields on translated nodes.
PrivateKey class core/lib/Drupal/Core/PrivateKey.php Manages the Drupal private key.
PrivateKey.php file core/lib/Drupal/Core/PrivateKey.php
PrivateKey::$state property core/lib/Drupal/Core/PrivateKey.php The state service.
PrivateKey::create function core/lib/Drupal/Core/PrivateKey.php Creates a new private key.
PrivateKey::get function core/lib/Drupal/Core/PrivateKey.php Gets the private key.
PrivateKey::set function core/lib/Drupal/Core/PrivateKey.php Sets the private key.
PrivateKey::__construct function core/lib/Drupal/Core/PrivateKey.php Constructs the private key object.
PrivateKeyTest class core/tests/Drupal/Tests/Core/PrivateKeyTest.php Tests the PrivateKey class.
PrivateKeyTest.php file core/tests/Drupal/Tests/Core/PrivateKeyTest.php
PrivateKeyTest::$key property core/tests/Drupal/Tests/Core/PrivateKeyTest.php The random key to use in tests.
PrivateKeyTest::setUp function core/tests/Drupal/Tests/Core/PrivateKeyTest.php
PrivateKeyTest::testGet function core/tests/Drupal/Tests/Core/PrivateKeyTest.php Tests PrivateKey::get().
PrivateKeyTest::testGetNoState function core/tests/Drupal/Tests/Core/PrivateKeyTest.php Tests PrivateKey::get() with no private key from state.
PrivateKeyTest::testSet function core/tests/Drupal/Tests/Core/PrivateKeyTest.php Tests PrivateKey::setPrivateKey().
PrivateMethodUnitTestTrait trait core/modules/ckeditor5/tests/src/Traits/PrivateMethodUnitTestTrait.php Provides methods to test protected/private methods in unit tests.
PrivateMethodUnitTestTrait.php file core/modules/ckeditor5/tests/src/Traits/PrivateMethodUnitTestTrait.php
PrivateMethodUnitTestTrait::getMethod function core/modules/ckeditor5/tests/src/Traits/PrivateMethodUnitTestTrait.php Gets a protected/private method to test.
PrivateStream class core/lib/Drupal/Core/StreamWrapper/PrivateStream.php Drupal private (private://) stream wrapper class.
PrivateStream.php file core/lib/Drupal/Core/StreamWrapper/PrivateStream.php
PrivateStream::basePath function core/lib/Drupal/Core/StreamWrapper/PrivateStream.php Returns the base path for private://.
PrivateStream::getDescription function core/lib/Drupal/Core/StreamWrapper/PrivateStream.php
PrivateStream::getDirectoryPath function core/lib/Drupal/Core/StreamWrapper/PrivateStream.php
PrivateStream::getExternalUrl function core/lib/Drupal/Core/StreamWrapper/PrivateStream.php
PrivateStream::getName function core/lib/Drupal/Core/StreamWrapper/PrivateStream.php
PrivateStream::getType function core/lib/Drupal/Core/StreamWrapper/PrivateStream.php
PrivateTempStore class core/lib/Drupal/Core/TempStore/PrivateTempStore.php Stores and retrieves temporary data for a given owner.
PrivateTempStore.php file core/lib/Drupal/Core/TempStore/PrivateTempStore.php
PrivateTempStore::$currentUser property core/lib/Drupal/Core/TempStore/PrivateTempStore.php The current user.
PrivateTempStore::$expire property core/lib/Drupal/Core/TempStore/PrivateTempStore.php The time to live for items in seconds.
PrivateTempStore::$lockBackend property core/lib/Drupal/Core/TempStore/PrivateTempStore.php The lock object used for this data.
PrivateTempStore::$requestStack property core/lib/Drupal/Core/TempStore/PrivateTempStore.php The request stack.
PrivateTempStore::$storage property core/lib/Drupal/Core/TempStore/PrivateTempStore.php The key/value storage object used for this data.
PrivateTempStore::createKey function core/lib/Drupal/Core/TempStore/PrivateTempStore.php Ensures that the key is unique for a user.
PrivateTempStore::delete function core/lib/Drupal/Core/TempStore/PrivateTempStore.php Deletes data from the store for a given key and releases the lock on it.
PrivateTempStore::get function core/lib/Drupal/Core/TempStore/PrivateTempStore.php Retrieves a value from this PrivateTempStore for a given key.
PrivateTempStore::getMetadata function core/lib/Drupal/Core/TempStore/PrivateTempStore.php Returns the metadata associated with a particular key/value pair.
PrivateTempStore::getOwner function core/lib/Drupal/Core/TempStore/PrivateTempStore.php Gets the current owner based on the current user or the session ID.
PrivateTempStore::set function core/lib/Drupal/Core/TempStore/PrivateTempStore.php Stores a particular key/value pair in this PrivateTempStore.
PrivateTempStore::__construct function core/lib/Drupal/Core/TempStore/PrivateTempStore.php Constructs a new object for accessing data from a key/value store.

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