BookOutlineStorage::loadMultiple

public BookOutlineStorage::loadMultiple($nids, $access = TRUE) Loads books. Each book entry consists of the following keys: bid: The node ID of the main book. nid: The node ID of the book entry itself. pid: The parent node ID of the book. has_children: A boolean to indicate whether the book has children. weight: The weight of the book entry to order siblings. depth: The depth in the menu hierarchy the entry is placed into. Parameters array $nids: An array of node IDs. bool $access: Whe

LanguageConverter::convert

public LanguageConverter::convert($value, $definition, $name, array $defaults) Converts path variables to their corresponding objects. Parameters mixed $value: The raw value. mixed $definition: The parameter definition provided in the route options. string $name: The name of the parameter. array $defaults: The route defaults array. Return value mixed|null The converted parameter value. Overrides ParamConverterInterface::convert File core/modules/language/src/LanguageConverter.php, line 34

LanguageEditForm::form

public LanguageEditForm::form(array $form, FormStateInterface $form_state) Gets the actual form array to be built. Overrides EntityForm::form See also \Drupal\Core\Entity\EntityForm::processForm() \Drupal\Core\Entity\EntityForm::afterBuild() File core/modules/language/src/Form/LanguageEditForm.php, line 23 Class LanguageEditForm Controller for language edit forms. Namespace Drupal\language\Form Code public function form(array $form, FormStateInterface $form_state) { $this->common

CacheContextsManager::__construct

public CacheContextsManager::__construct(ContainerInterface $container, array $contexts) Constructs a CacheContextsManager object. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The current service container. string[] $contexts: An array of the available cache context IDs. File core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php, line 47 Class CacheContextsManager Converts cache context tokens into cache keys. Namespace Drupal\Core\Cache\Contex

EntityType::setUriCallback

public EntityType::setUriCallback($callback) Sets a callable to use to provide the entity URI. Parameters callable $callback: A callback to use to provide a URI for the entity. Return value $this Overrides EntityTypeInterface::setUriCallback File core/lib/Drupal/Core/Entity/EntityType.php, line 785 Class EntityType Provides an implementation of an entity type and its metadata. Namespace Drupal\Core\Entity Code public function setUriCallback($callback) { $this->uri_callback = $ca

Select::$prepared

Indicates if preExecute() has already been called. Type: bool File core/lib/Drupal/Core/Database/Query/Select.php, line 113 Class Select Query builder for SELECT statements. Namespace Drupal\Core\Database\Query Code protected $prepared = FALSE;

DiffFormatter::__construct

public DiffFormatter::__construct(ConfigFactoryInterface $config_factory) Creates a DiffFormatter to render diffs in a table. Parameters \Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory. File core/lib/Drupal/Core/Diff/DiffFormatter.php, line 38 Class DiffFormatter Diff formatter which uses returns output that can be rendered to a table. Namespace Drupal\Core\Diff Code public function __construct(ConfigFactoryInterface $config_factory) { $config = $confi

BookOutlineForm::$entity

The book being displayed. Type: \Drupal\node\NodeInterface Overrides EntityForm::$entity File core/modules/book/src/Form/BookOutlineForm.php, line 22 Class BookOutlineForm Displays the book outline form. Namespace Drupal\book\Form Code protected $entity;

WidgetInterface::settingsForm

public WidgetInterface::settingsForm(array $form, FormStateInterface $form_state) Returns a form to configure settings for the widget. Invoked from \Drupal\field_ui\Form\EntityDisplayFormBase to allow administrators to configure the widget. The field_ui module takes care of handling submitted form values. Parameters array $form: The form where the settings form is being included in. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array The form de

ContactFormEditForm::getEditableConfigNames

protected ContactFormEditForm::getEditableConfigNames() Gets the configuration names that will be editable. Return value array An array of configuration object names that are editable if called in conjunction with the trait's config() method. Overrides ConfigFormBaseTrait::getEditableConfigNames File core/modules/contact/src/ContactFormEditForm.php, line 62 Class ContactFormEditForm Base form for contact form edit forms. Namespace Drupal\contact Code protected function getEditableConf