BaseFormIdInterface

Provides an interface for a Form that has a base form ID. This will become the $form_state->getBaseInfo()['base_form_id'] used to generate the name of hook_form_BASE_FORM_ID_alter(). Hierarchy interface \Drupal\Core\Form\FormInterfaceinterface \Drupal\Core\Form\BaseFormIdInterface File core/lib/Drupal/Core/Form/BaseFormIdInterface.php, line 11 Namespace Drupal\Core\Form Members Name Modifiers Type Description BaseFormIdInterface::getBaseFormId public function Returns

BookBreadcrumbBuilder::__construct

public BookBreadcrumbBuilder::__construct(EntityManagerInterface $entity_manager, AccountInterface $account) Constructs the BookBreadcrumbBuilder. Parameters \Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager service. \Drupal\Core\Session\AccountInterface $account: The current user account. File core/modules/book/src/BookBreadcrumbBuilder.php, line 42 Class BookBreadcrumbBuilder Provides a breadcrumb builder for nodes in a book. Namespace Drupal\book Code p

template_preprocess_views_view

template_preprocess_views_view(&$variables) Prepares variables for view templates. Default template: views-view.html.twig. Parameters array $variables: An associative array containing: view: The ViewExecutable object. File core/modules/views/views.theme.inc, line 22 Preprocessors and helper functions to make theming easier. Code function template_preprocess_views_view(&$variables) { $view = $variables['view']; $id = $view->storage->id(); $variables['css_name'] = Html:

ConfigEntityStorage::doLoadMultiple

protected ConfigEntityStorage::doLoadMultiple(array $ids = NULL) Performs storage-specific loading of entities. Override this method to add custom functionality directly after loading. This is always called, while self::postLoad() is only called when there are actual results. Parameters array|null $ids: (optional) An array of entity IDs, or NULL to load all entities. Return value \Drupal\Core\Entity\EntityInterface[] Associative array of entities, keyed on the entity ID. Overrides EntityStora

RESPONSIVE_PRIORITY_MEDIUM

A responsive table class; hide table cell on narrow devices. Indicates that a column has medium priority and thus can be hidden on narrow width devices and shown on medium+ width devices (i.e. tablets and desktops). Related topics Content markers Markers used by mark.html.twig and node_mark() to designate content. File core/includes/theme.inc, line 58 The theme system, which controls the output of Drupal. Code const RESPONSIVE_PRIORITY_MEDIUM = 'priority-medium';

Merge::useDefaults

public Merge::useDefaults(array $fields) Specifies fields for which the database-defaults should be used. If you want to force a given field to use the database-defined default, not NULL or undefined, use this method to instruct the database to use default values explicitly. In most cases this will not be necessary unless you are inserting a row that is all default values, as you cannot specify no values in an INSERT query. Specifying a field both in fields() and in useDefaults() is an error an

FormElementBase::getTranslationElement

protected FormElementBase::getTranslationElement(LanguageInterface $translation_language, $source_config, $translation_config) Returns the translation form element for a given configuration definition. For complex data structures (such as mappings) that are translatable wholesale but contain non-translatable properties, the form element is responsible for checking access to the source value of those properties. In case of formatted text, for example, access to the source text format must be che

BaseFieldDefinition::getColumns

public BaseFieldDefinition::getColumns() Returns the field columns, as defined in the field schema. Return value array[] The array of field columns, keyed by column name, in the same format returned by getSchema(). Overrides FieldStorageDefinitionInterface::getColumns See also \Drupal\Core\Field\FieldStorageDefinitionInterface::getSchema() File core/lib/Drupal/Core/Field/BaseFieldDefinition.php, line 656 Class BaseFieldDefinition A class for defining entity fields. Namespace Drupal\Co

ViewsFormBase::getForm

public ViewsFormBase::getForm(ViewEntityInterface $view, $display_id, $js) Creates a new instance of this form. @todo When https://www.drupal.org/node/1843224 is in, this will return \Drupal\Core\Ajax\AjaxResponse instead of the array of AJAX commands. Parameters \Drupal\views\ViewEntityInterface $view: The view being edited. string|null $display_id: The display ID being edited, or NULL to load the first available display. string $js: If this is an AJAX form, it will be the string 'ajax'. Othe

ConfigEntityListBuilder

Defines the default class to build a listing of configuration entities. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityListBuilder implements EntityHandlerInterface, EntityListBuilderInterfaceclass \Drupal\Core\Config\Entity\ConfigEntityListBuilder Related topics Entity API Describes how to define and manipulate content and configuration entities. File core/lib/Drupal/Core/Config/Entity/Config