EditDetails::getFormKey

public EditDetails::getFormKey() Returns the key that represents this form. Return value string The form key used in the URL, e.g., the string 'add-handler' in 'admin/structure/views/%/add-handler/%/%/%'. Overrides ViewsFormInterface::getFormKey File core/modules/views_ui/src/Form/Ajax/EditDetails.php, line 16 Class EditDetails Provides a form for editing the details of a View. Namespace Drupal\views_ui\Form\Ajax Code public function getFormKey() { return 'edit-details'; }

SearchPageEditForm::save

public SearchPageEditForm::save(array $form, FormStateInterface $form_state) Form submission handler for the 'save' action. Normally this method should be overridden to provide specific messages to the user and redirect the form after the entity has been saved. 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 int Either SAVED_NEW or SAVED_UPDATED, depending on the op

HtmlRenderer::buildPageTopAndBottom

public HtmlRenderer::buildPageTopAndBottom(array &$html) Invokes the page top and bottom hooks. @internal Parameters array &$html: A #type 'html' render array, for which the page top and bottom hooks will be invoked, and to which the 'page_top' and 'page_bottom' children (also render arrays) will be added (if non-empty). Throws \LogicException See also hook_page_top() hook_page_bottom() html.html.twig File core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php, line 330 Class H

Comment::setSubject

public Comment::setSubject($subject) Sets the subject of the comment. Parameters string $subject: The subject of the comment. Return value $this The class instance that this method is called on. Overrides CommentInterface::setSubject File core/modules/comment/src/Entity/Comment.php, line 386 Class Comment Defines the comment entity class. Namespace Drupal\comment\Entity Code public function setSubject($subject) { $this->set('subject', $subject); return $this; }

EntityViewBuilder::$languageManager

The language manager. File core/lib/Drupal/Core/Entity/EntityViewBuilder.php, line 55 Class EntityViewBuilder Base class for entity view builders. Namespace Drupal\Core\Entity Code protected $languageManager;

EntityViewBuilder::$entityTypeId

The type of entities for which this view builder is instantiated. Type: string File core/lib/Drupal/Core/Entity/EntityViewBuilder.php, line 27 Class EntityViewBuilder Base class for entity view builders. Namespace Drupal\Core\Entity Code protected $entityTypeId;

ConfigurableLanguageManager::getLanguageTypes

public ConfigurableLanguageManager::getLanguageTypes() Returns an array of the available language types. Return value array An array of language type machine names. Overrides LanguageManager::getLanguageTypes File core/modules/language/src/ConfigurableLanguageManager.php, line 150 Class ConfigurableLanguageManager Overrides default LanguageManager to provide configured languages. Namespace Drupal\language Code public function getLanguageTypes() { $this->loadLanguageTypesConfigura

DrupalKernelInterface::preHandle

public DrupalKernelInterface::preHandle(Request $request) Helper method that does request related initialization. Parameters \Symfony\Component\HttpFoundation\Request $request: The current request. File core/lib/Drupal/Core/DrupalKernelInterface.php, line 136 Class DrupalKernelInterface The interface for DrupalKernel, the core of Drupal. Namespace Drupal\Core Code public function preHandle(Request $request);

Renderer::$contextCollection

The render context collection. An individual global render context is tied to the current request. We then need to maintain a different context for each request to correctly handle rendering in subrequests. This must be static as long as some controllers rebuild the container during a request. This causes multiple renderer instances to co-exist simultaneously, render state getting lost, and therefore causing pages to fail to render correctly. As soon as it is guaranteed that during a request th

ExtensionInstallStorage::createCollection

public ExtensionInstallStorage::createCollection($collection) Creates a collection on the storage. A configuration storage can contain multiple sets of configuration objects in partitioned collections. The collection name identifies the current collection used. Implementations of this method must provide a new instance to avoid side effects caused by the fact that Config objects have their storage injected. Parameters string $collection: The collection name. Valid collection names conform to t