LanguageException

A base exception thrown in any language system operations. Hierarchy class \Drupal\language\Exception\LanguageException extends \RuntimeException File core/modules/language/src/Exception/LanguageException.php, line 8 Namespace Drupal\language\Exception Members

LanguageFormBase::validateCommon

public LanguageFormBase::validateCommon(array $form, FormStateInterface $form_state) Validates the language editing element. File core/modules/language/src/Form/LanguageFormBase.php, line 96 Class LanguageFormBase Base form for language add and edit forms. Namespace Drupal\language\Form Code public function validateCommon(array $form, FormStateInterface $form_state) { // Ensure sane field values for langcode and name. if (!isset($form['langcode_view']) && !preg_match('@^[a-

View::$module

The module implementing this view. Type: string File core/modules/views/src/Entity/View.php, line 115 Class View Defines a View configuration entity class. Namespace Drupal\views\Entity Code protected $module = 'views';

breadcrumb.html.twig

Default theme implementation for a breadcrumb trail. Available variables: breadcrumb: Breadcrumb trail items. File core/modules/system/templates/breadcrumb.html.twig Related topics Theme system overview Functions and templates for the user interface that themes can override.

ImageStyleInterface

Provides an interface defining an image style entity. Hierarchy interface \Drupal\Core\Entity\EntityInterface; interface \Drupal\Core\Config\Entity\ThirdPartySettingsInterfaceinterface \Drupal\Core\Config\Entity\ConfigEntityInterfaceinterface \Drupal\image\ImageStyleInterface File core/modules/image/src/ImageStyleInterface.php, line 10 Namespace Drupal\image Members Name Modifiers Type Description AccessibleInterface::access public function Checks data value access.

ReorderDisplays::buildForm

public ReorderDisplays::buildForm(array $form, FormStateInterface $form_state) Form constructor. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array The form structure. Overrides FormInterface::buildForm File core/modules/views_ui/src/Form/Ajax/ReorderDisplays.php, line 31 Class ReorderDisplays Displays the display reorder form. Namespace Drupal\views_ui\F

SqlContentEntityStorage::mapFromStorageRecords

protected SqlContentEntityStorage::mapFromStorageRecords(array $records, $load_from_revision = FALSE) Maps from storage records to entity objects, and attaches fields. Parameters array $records: Associative array of query results, keyed on the entity ID. bool $load_from_revision: Flag to indicate whether revisions should be loaded or not. Return value array An array of entity objects implementing the EntityInterface. Overrides EntityStorageBase::mapFromStorageRecords File core/lib/Drupal/Core

MatcherDumper::$state

The state. Type: \Drupal\Core\State\StateInterface File core/lib/Drupal/Core/Routing/MatcherDumper.php, line 37 Class MatcherDumper Dumps Route information to a database table. Namespace Drupal\Core\Routing Code protected $state;

Schema::dropIndex

public Schema::dropIndex($table, $name) Drop an index. Parameters $table: The table to be altered. $name: The name of the index. Return value TRUE if the index was successfully dropped, FALSE if there was no index by that name to begin with. Overrides Schema::dropIndex File core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php, line 623 Class Schema SQLite implementation of \Drupal\Core\Database\Schema. Namespace Drupal\Core\Database\Driver\sqlite Code public function dropIndex($tab

CommentStorage::getDisplayOrdinal

public CommentStorage::getDisplayOrdinal(CommentInterface $comment, $comment_mode, $divisor = 1) Gets the display ordinal or page number for a comment. Parameters \Drupal\comment\CommentInterface $comment: The comment to use as a reference point. int $comment_mode: The comment display mode: CommentManagerInterface::COMMENT_MODE_FLAT or CommentManagerInterface::COMMENT_MODE_THREADED. int $divisor: Defaults to 1, which returns the display ordinal for a comment. If the number of comments per page