Connection::open

public static Connection::open(array &$connection_options = array()) Opens a PDO connection. Parameters array $connection_options: The database connection settings array. Return value \PDO A \PDO object. File core/lib/Drupal/Core/Database/Connection.php, line 176 Class Connection Base Database API class. Namespace Drupal\Core\Database Code public static function open(array &$connection_options = array()) { }

StatementInterface::rowCount

public StatementInterface::rowCount() Returns the number of rows affected by the last SQL statement. Return value The number of rows affected by the last DELETE, INSERT, or UPDATE statement executed or throws \Drupal\Core\Database\RowCountException if the last executed statement was SELECT. Throws \Drupal\Core\Database\RowCountException File core/lib/Drupal/Core/Database/StatementInterface.php, line 74 Class StatementInterface Represents a prepared statement. Namespace Drupal\Core\Dat

FormStateInterface::setCleanValueKeys

public FormStateInterface::setCleanValueKeys(array $keys) Sets the keys of the form values that will be cleaned. Parameters array $keys: An array of form value keys to be cleaned. Return value $this File core/lib/Drupal/Core/Form/FormStateInterface.php, line 1083 Class FormStateInterface Provides an interface for an object containing the current state of a form. Namespace Drupal\Core\Form Code public function setCleanValueKeys(array $keys);

BlockViewBuilder::createInstance

public static BlockViewBuilder::createInstance(ContainerInterface $container, EntityTypeInterface $entity_type) Instantiates a new instance of this entity handler. This is a factory method that returns a new instance of this object. The factory should pass any needed dependencies into the constructor of this object, but not the container itself. Every call to this method must return a new instance of this object; that is, it may not implement a singleton. Parameters \Symfony\Component\Dependen

MessageForm::__construct

public MessageForm::__construct(EntityManagerInterface $entity_manager, FloodInterface $flood, LanguageManagerInterface $language_manager, MailHandlerInterface $mail_handler, DateFormatterInterface $date_formatter) Constructs a MessageForm object. Parameters \Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager. \Drupal\Core\Flood\FloodInterface $flood: The flood control mechanism. \Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager s

MenuLinkContent

Defines the menu link content entity class. @property \Drupal\link\LinkItemInterface link @property \Drupal\Core\Field\FieldItemList rediscover Plugin annotation @ContentEntityType( id = "menu_link_content", label = @Translation("Custom menu link"), handlers = { "storage" = "Drupal\Core\Entity\Sql\SqlContentEntityStorage", "storage_schema" = "Drupal\menu_link_content\MenuLinkContentStorageSchema", "access" = "Drupal\menu_link_content\MenuLinkContentAccessControlHandler", "

Entity::getCacheMaxAge

public Entity::getCacheMaxAge() The maximum age for which this object may be cached. Return value int The maximum time in seconds that this object may be cached. Overrides RefinableCacheableDependencyTrait::getCacheMaxAge File core/lib/Drupal/Core/Entity/Entity.php, line 490 Class Entity Defines a base entity class. Namespace Drupal\Core\Entity Code public function getCacheMaxAge() { return $this->cacheMaxAge; }

FormState::$temporary

Holds temporary data accessible during the current page request only. All $form_state properties that are not reserved keys (see other properties marked as uncacheable) persist throughout a multistep form sequence. Form API provides this key for modules to communicate information across form-related functions during a single page request. It may be used to temporarily save data that does not need to or should not be cached during the whole form workflow; e.g., data that needs to be accessed dur

UpdateFetcherInterface

Fetches project information from remote locations. Hierarchy interface \Drupal\update\UpdateFetcherInterface File core/modules/update/src/UpdateFetcherInterface.php, line 8 Namespace Drupal\update Members Name Modifiers Type Description UpdateFetcherInterface::buildFetchUrl public function Generates the URL to fetch information about project updates. UpdateFetcherInterface::fetchProjectData public function Retrieves the project information. UpdateFetcherInterfa

template_preprocess_book_export_html

template_preprocess_book_export_html(&$variables) Prepares variables for book export templates. Default template: book-export-html.html.twig. Parameters array $variables: An associative array containing: title: The title of the book. contents: Output of each book page. depth: The max depth of the book. File core/modules/book/book.module, line 469 Allows users to create and organize related content in an outline. Code function template_preprocess_book_export_html(&$variables) {