ViewsFormBase

Provides a base class for Views UI AJAX forms. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\views_ui\Form\Ajax\ViewsFormBase implements ViewsFormInterface File core/modules/views_ui/src/Form/Ajax/ViewsFormBase.php, line 25 Namespace Drupal\views_ui\Form\Ajax Members Name Modifi

MenuForm::buildOverviewTreeForm

protected MenuForm::buildOverviewTreeForm($tree, $delta) Recursive helper function for buildOverviewForm(). Parameters \Drupal\Core\Menu\MenuLinkTreeElement[] $tree: The tree retrieved by \Drupal\Core\Menu\MenuLinkTreeInterface::load(). int $delta: The default number of menu items used in the menu weight selector is 50. Return value array The overview tree form. File core/modules/menu_ui/src/MenuForm.php, line 338 Class MenuForm Base form for menu edit forms. Namespace Drupal\menu_ui

BlockContentInterface

Provides an interface defining a custom block entity. Hierarchy interface \Drupal\Core\Entity\ContentEntityInterface extends \Traversable; interface \Drupal\Core\Entity\EntityChangedInterface; interface \Drupal\Core\Entity\RevisionLogInterfaceinterface \Drupal\block_content\BlockContentInterface File core/modules/block_content/src/BlockContentInterface.php, line 12 Namespace Drupal\block_content Members Name Modifiers Type Description AccessibleInterface::access public fu

FieldItemList::$langcode

The langcode of the field values held in the object. Type: string File core/lib/Drupal/Core/Field/FieldItemList.php, line 34 Class FieldItemList Represents an entity field; that is, a list of field item objects. Namespace Drupal\Core\Field Code protected $langcode = LanguageInterface::LANGCODE_NOT_SPECIFIED;

EntityTypeRepository::clearCachedDefinitions

public EntityTypeRepository::clearCachedDefinitions() Clear the static cache. @todo Remove in https://www.drupal.org/node/2549143. Overrides EntityTypeRepositoryInterface::clearCachedDefinitions Deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. File core/lib/Drupal/Core/Entity/EntityTypeRepository.php, line 104 Class EntityTypeRepository Provides helper methods for loading entity types. Namespace Drupal\Core\Entity Code public function clearCachedDefinitions() { $th

Toolbar

Provides a render element for the default Drupal toolbar. Plugin annotation @RenderElement("toolbar") Hierarchy class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterfaceclass \Drupal\Core\Plugin\PluginBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Render\Element\RenderElement implements ElementInterfaceclass \Drupal\toolbar\Element\Toolbar File core/modules/toolbar/src/Element/Toolbar.php, line 14 Na

EntityViewDisplay::buildMultiple

public EntityViewDisplay::buildMultiple(array $entities) Builds a renderable array for the components of a set of entities. This only includes the components handled by the Display object, but excludes 'extra fields', that are typically rendered through specific, ad-hoc code in EntityViewBuilderInterface::buildComponents() or in hook_entity_view() implementations. hook_entity_display_build_alter() is invoked on each entity, allowing 3rd party code to alter the render array. Parameters \Drupal\

BookManager::deleteFromBook

public BookManager::deleteFromBook($nid) Deletes node's entry from book table. Parameters int $nid: The nid to delete. Overrides BookManagerInterface::deleteFromBook File core/modules/book/src/BookManager.php, line 431 Class BookManager Defines a book manager. Namespace Drupal\book Code public function deleteFromBook($nid) { $original = $this->loadBookLink($nid, FALSE); $this->bookOutlineStorage->delete($nid); if ($nid == $original['bid']) { // Handle deletion of a

EntityDisplayModeInterface

Provides an interface for entity types that hold form and view mode settings. Hierarchy interface \Drupal\Core\Entity\EntityInterface; interface \Drupal\Core\Config\Entity\ThirdPartySettingsInterfaceinterface \Drupal\Core\Config\Entity\ConfigEntityInterfaceinterface \Drupal\Core\Entity\EntityDisplayModeInterface File core/lib/Drupal/Core/Entity/EntityDisplayModeInterface.php, line 10 Namespace Drupal\Core\Entity Members Name Modifiers Type Description AccessibleInterface::ac

TermStorageSchema::getSharedTableFieldSchema

protected TermStorageSchema::getSharedTableFieldSchema(FieldStorageDefinitionInterface $storage_definition, $table_name, array $column_mapping) Gets the schema for a single field definition. Entity types may override this method in order to optimize the generated schema for given field. While all optimizations that apply to a single field have to be added here, all cross-field optimizations should be via SqlContentEntityStorageSchema::getEntitySchema() instead; e.g., an index spanning multiple