BookOutlineStorageInterface

Defines a common interface for book outline storage classes. Hierarchy interface \Drupal\book\BookOutlineStorageInterface File core/modules/book/src/BookOutlineStorageInterface.php, line 8 Namespace Drupal\book Members Name Modifiers Type Description BookOutlineStorageInterface::countOriginalLinkChildren public function Count the number of original link children. BookOutlineStorageInterface::delete public function Deletes a book entry. BookOutlineStorageInterfa

FileSystem::$streamWrapperManager

The stream wrapper manager. Type: \Drupal\Core\StreamWrapper\StreamWrapperManagerInterface File core/lib/Drupal/Core/File/FileSystem.php, line 43 Class FileSystem Provides helpers to operate on files and stream wrappers. Namespace Drupal\Core\File Code protected $streamWrapperManager;

ViewExecutable::$relationship

Stores the relationship handlers which are initialized on this view. Type: \Drupal\views\Plugin\views\relationship\RelationshipPluginBase[] File core/modules/views/src/ViewExecutable.php, line 290 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public $relationship;

ImageStyleFlushForm::getDescription

public ImageStyleFlushForm::getDescription() Returns additional text to display as a description. Return value string The form description. Overrides EntityConfirmFormBase::getDescription File core/modules/image/src/Form/ImageStyleFlushForm.php, line 23 Class ImageStyleFlushForm Form controller for image style flush. Namespace Drupal\image\Form Code public function getDescription() { return $this->t('This operation does not change the original images but the copies created for th

Condition::notExists

public Condition::notExists($field, $langcode = NULL) Queries for the existence of a field. Parameters string $field: Return value ConditionInterface; Overrides ConditionInterface::notExists See also \Drupal\Core\Entity\Query\QueryInterface::notexists() File core/lib/Drupal/Core/Entity/Query/Null/Condition.php, line 28 Class Condition Defines the condition class for the null entity query. Namespace Drupal\Core\Entity\Query\Null Code public function notExists($field, $langcode = NULL

ContextualLinkInterface::getTitle

public ContextualLinkInterface::getTitle() Returns the localized title to be shown for this contextual link. Subclasses may add optional arguments like NodeInterface $node = NULL that will be supplied by the ControllerResolver. Return value string The title to be shown for this action. See also \Drupal\Core\Menu\ContextualLinksManager::getTitle() File core/lib/Drupal/Core/Menu/ContextualLinkInterface.php, line 29 Class ContextualLinkInterface Defines a contextual link plugin. Namespace

CommentStorageInterface::getNewCommentPageNumber

public CommentStorageInterface::getNewCommentPageNumber($total_comments, $new_comments, FieldableEntityInterface $entity, $field_name) Calculates the page number for the first new comment. Parameters int $total_comments: The total number of comments that the entity has. int $new_comments: The number of new comments that the entity has. \Drupal\Core\Entity\FieldableEntityInterface $entity: The entity to which the comments belong. string $field_name: The field name on the entity to which comment

Database::setActiveConnection

final public static Database::setActiveConnection($key = 'default') Sets the active connection to the specified key. Return value string|null The previous database connection key. File core/lib/Drupal/Core/Database/Database.php, line 191 Class Database Primary front-controller for the database system. Namespace Drupal\Core\Database Code final public static function setActiveConnection($key = 'default') { if (!empty(self::$databaseInfo[$key])) { $old_key = self::$activeKey; s

MenuTreeStorageInterface::rebuild

public MenuTreeStorageInterface::rebuild(array $definitions) Rebuilds the stored menu link definitions. Links that saved by passing definitions into this method must be included on all future calls, or they will be purged. This allows for automatic cleanup e.g. when modules are uninstalled. Parameters array $definitions: The new menu link definitions. File core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php, line 36 Class MenuTreeStorageInterface Defines an interface for storing a menu

FormState::cleanValues

public FormState::cleanValues() Removes internal Form API elements and buttons from submitted form values. This function can be used when a module wants to store all submitted form values, for example, by serializing them into a single database column. In such cases, all internal Form API values and all form button elements should not be contained, and this function allows their removal before the module proceeds to storage. Next to button elements, the following internal values are removed by