ConfirmFormHelper::buildCancelLink

public static ConfirmFormHelper::buildCancelLink(ConfirmFormInterface $form, Request $request) Builds the cancel link for a confirmation form. Parameters \Drupal\Core\Form\ConfirmFormInterface $form: The confirmation form. \Symfony\Component\HttpFoundation\Request $request: The current request. Return value array The link render array for the cancel form. File core/lib/Drupal/Core/Form/ConfirmFormHelper.php, line 25 Class ConfirmFormHelper Provides common functionality to confirmation fo

User::getCreatedTime

public User::getCreatedTime() Returns the creation time of the user as a UNIX timestamp. Return value int Timestamp of the creation date. Overrides UserInterface::getCreatedTime File core/modules/user/src/Entity/User.php, line 237 Class User Defines the user entity class. Namespace Drupal\user\Entity Code public function getCreatedTime() { return $this->get('created')->value; }

user_view_multiple

user_view_multiple($accounts, $view_mode = 'full', $langcode = NULL) Constructs a drupal_render() style array from an array of loaded users. Parameters \Drupal\user\UserInterface[] $accounts: An array of user accounts as returned by User::loadMultiple(). string $view_mode: (optional) View mode, e.g., 'full', 'teaser', etc. Defaults to 'teaser.' string|null $langcode: (optional) A language code to use for rendering. Defaults to the global content language of the current request. Return value a

ContentEntityStorageBase::doSaveFieldItems

abstract protected ContentEntityStorageBase::doSaveFieldItems(ContentEntityInterface $entity, array $names = []) Writes entity field values to the storage. This method is responsible for allocating entity and revision identifiers and updating the entity object with their values. Parameters \Drupal\Core\Entity\ContentEntityInterface $entity: The entity object. string[] $names: (optional) The name of the fields to be written to the storage. If an empty value is passed all field values are saved.

BookOutlineForm::$entity

The book being displayed. Type: \Drupal\node\NodeInterface Overrides EntityForm::$entity File core/modules/book/src/Form/BookOutlineForm.php, line 22 Class BookOutlineForm Displays the book outline form. Namespace Drupal\book\Form Code protected $entity;

RevisionableInterface::preSaveRevision

public RevisionableInterface::preSaveRevision(EntityStorageInterface $storage, \stdClass $record) Acts on a revision before it gets saved. Parameters EntityStorageInterface $storage: The entity storage object. \stdClass $record: The revision object. File core/lib/Drupal/Core/Entity/RevisionableInterface.php, line 62 Class RevisionableInterface Provides methods for an entity to support revisions. Namespace Drupal\Core\Entity Code public function preSaveRevision(EntityStorageInterface $

PlaceholderGenerator::createPlaceholder

public PlaceholderGenerator::createPlaceholder(array $element) Turns the given element into a placeholder. Placeholdering allows us to avoid "poor cacheability contamination": this maps the current render array to one that only has #markup and #attached, and #attached contains a placeholder with this element's prior cacheability metadata. In other words: this placeholder is perfectly cacheable, the placeholder replacement logic effectively cordons off poor cacheability. Parameters array $eleme

FileInterface::getFileUri

public FileInterface::getFileUri() Returns the URI of the file. Return value string The URI of the file, e.g. public://directory/file.jpg. File core/modules/file/src/FileInterface.php, line 42 Class FileInterface Defines getter and setter methods for file entity base fields. Namespace Drupal\file Code public function getFileUri();

StreamWrapperInterface::LOCAL_NORMAL

Visible, readable and writeable using local files. File core/lib/Drupal/Core/StreamWrapper/StreamWrapperInterface.php, line 96 Class StreamWrapperInterface Defines a Drupal stream wrapper extension. Namespace Drupal\Core\StreamWrapper Code const LOCAL_NORMAL = 0x001D;

Truncate

PostgreSQL implementation of \Drupal\Core\Database\Query\Truncate. Hierarchy class \Drupal\Core\Database\Query\Query implements PlaceholderInterfaceclass \Drupal\Core\Database\Query\Truncateclass \Drupal\Core\Database\Driver\pgsql\Truncate File core/lib/Drupal/Core/Database/Driver/pgsql/Truncate.php, line 10 Namespace Drupal\Core\Database\Driver\pgsql Members Name Modifiers Type Description Query::$comments protected property An array of comments that can be prepended