Search for to

  1. Search 7.x for to
  2. Search 8.9.x for to
  3. Search 10.3.x for to
  4. Search 11.x for to
  5. Other projects
Title Object type File name Summary
PoHeader::__toString function core/lib/Drupal/Component/Gettext/PoHeader.php Generate a Gettext PO formatted header string based on data set earlier.
PoItem::__toString function core/lib/Drupal/Component/Gettext/PoItem.php Output the PoItem as a string.
PrecedingConstraintAwareValidatorTrait trait core/modules/ckeditor5/src/Plugin/Validation/Constraint/PrecedingConstraintAwareValidatorTrait.php A constraint may need preceding constraints to not have been violated.
PrecedingConstraintAwareValidatorTrait.php file core/modules/ckeditor5/src/Plugin/Validation/Constraint/PrecedingConstraintAwareValidatorTrait.php
PrecedingConstraintAwareValidatorTrait::getPrecedingConstraints function core/modules/ckeditor5/src/Plugin/Validation/Constraint/PrecedingConstraintAwareValidatorTrait.php Gets the constraints preceding the given constraint in the current context.
PrecedingConstraintAwareValidatorTrait::hasViolationsForPrecedingConstraints function core/modules/ckeditor5/src/Plugin/Validation/Constraint/PrecedingConstraintAwareValidatorTrait.php Checks whether any preceding constraints have been violated.
PrepareLayout::$layoutTempstoreRepository property core/modules/layout_builder/src/EventSubscriber/PrepareLayout.php The layout tempstore repository.
PrepareLayoutEvent::$sectionStorage property core/modules/layout_builder/src/Event/PrepareLayoutEvent.php The section storage plugin.
PrepareLayoutEvent::getSectionStorage function core/modules/layout_builder/src/Event/PrepareLayoutEvent.php Gets the section storage.
prepend-to-robots.txt file core/tests/Drupal/Tests/Composer/Plugin/Scaffold/fixtures/drupal-drupal-append-to-append/assets/prepend-to-robots.txt # robots.txt fixture scaffolded from "file-mappings" in drupal-drupal-append-to-append composer.json fixture.
# This content is prepended to the top of the existing robots.txt fixture.
#…
prepend-to-robots.txt file core/tests/Drupal/Tests/Composer/Plugin/Scaffold/fixtures/drupal-drupal-test-append/assets/prepend-to-robots.txt # robots.txt fixture scaffolded from "file-mappings" in drupal-drupal-test-append composer.json fixture.
# This content is prepended to the top of the existing robots.txt fixture.
#…
PreviewToggleTrait trait core/modules/layout_builder/src/Form/PreviewToggleTrait.php Provides a trait that provides a toggle for the content preview.
PreviewToggleTrait.php file core/modules/layout_builder/src/Form/PreviewToggleTrait.php
PreviewToggleTrait::buildContentPreviewToggle function core/modules/layout_builder/src/Form/PreviewToggleTrait.php Builds the content preview toggle input.
PreviewToggleTrait::currentUser function core/modules/layout_builder/src/Form/PreviewToggleTrait.php Gets the current user.
PrimitiveTypeConstraintValidator class core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidator.php Validates the PrimitiveType constraint.
PrimitiveTypeConstraintValidator.php file core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidator.php
PrimitiveTypeConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidator.php
PrimitiveTypeConstraintValidatorTest class core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php @coversDefaultClass \Drupal\Core\Validation\Plugin\Validation\Constraint\PrimitiveTypeConstraintValidator[[api-linebreak]]
@group validation
PrimitiveTypeConstraintValidatorTest.php file core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php
PrimitiveTypeConstraintValidatorTest::provideTestValidate function core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php
PrimitiveTypeConstraintValidatorTest::testValidate function core/tests/Drupal/Tests/Core/Validation/Plugin/Validation/Constraint/PrimitiveTypeConstraintValidatorTest.php @covers ::validate[[api-linebreak]]
PrivateStream::getDirectoryPath function core/lib/Drupal/Core/StreamWrapper/PrivateStream.php Gets the path that the wrapper is responsible for.
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::startSession function core/lib/Drupal/Core/TempStore/PrivateTempStore.php Start session because it is required for a private temp store.
PrivateTempStore::__construct function core/lib/Drupal/Core/TempStore/PrivateTempStore.php Constructs a new object for accessing data from a key/value store.
PrivateTempStoreFactory class core/lib/Drupal/Core/TempStore/PrivateTempStoreFactory.php Creates a PrivateTempStore object for a given collection.
PrivateTempStoreFactory.php file core/lib/Drupal/Core/TempStore/PrivateTempStoreFactory.php
PrivateTempStoreFactory::$currentUser property core/lib/Drupal/Core/TempStore/PrivateTempStoreFactory.php The current user.
PrivateTempStoreFactory::$expire property core/lib/Drupal/Core/TempStore/PrivateTempStoreFactory.php The time to live for items in seconds.
PrivateTempStoreFactory::$lockBackend property core/lib/Drupal/Core/TempStore/PrivateTempStoreFactory.php The lock object used for this data.
PrivateTempStoreFactory::$requestStack property core/lib/Drupal/Core/TempStore/PrivateTempStoreFactory.php The request stack.
PrivateTempStoreFactory::$storageFactory property core/lib/Drupal/Core/TempStore/PrivateTempStoreFactory.php The storage factory creating the backend to store the data.
PrivateTempStoreFactory::get function core/lib/Drupal/Core/TempStore/PrivateTempStoreFactory.php Creates a PrivateTempStore.
PrivateTempStoreFactory::__construct function core/lib/Drupal/Core/TempStore/PrivateTempStoreFactory.php Constructs a Drupal\Core\TempStore\PrivateTempStoreFactory object.
PrivateTempStoreTest class core/tests/Drupal/Tests/Core/TempStore/PrivateTempStoreTest.php @coversDefaultClass \Drupal\Core\TempStore\PrivateTempStore[[api-linebreak]]
@group TempStore
PrivateTempStoreTest.php file core/tests/Drupal/Tests/Core/TempStore/PrivateTempStoreTest.php
PrivateTempStoreTest::$currentUser property core/tests/Drupal/Tests/Core/TempStore/PrivateTempStoreTest.php The current user.

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