entity-moderation-form.html.twig

{{ attach_library('content_moderation/entity-moderation-form') }} <ul class="entity-moderation-form"> <li>{{ form.current }}</li> <li>{{ form.new_state }}</li> <li>{{ form.revision_log }}</li> <li>{{ form.submit }}</li> </ul> {{ form|without('current', 'new_state', 'revision_log', 'submit') }} File core/modules/content_moderation/templates/entity-moderation-form.html.twig

ConfigNamesMapper::create

public static ConfigNamesMapper::create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) Creates an instance of the plugin. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The container to pull out services used in the plugin. array $configuration: A configuration array containing information about the plugin instance. string $plugin_id: The plugin ID for the plugin instance. mixed $plugin_definition: The plugin implementatio

ConfigTranslationFormBase::getBaseFormId

public ConfigTranslationFormBase::getBaseFormId() Returns a string identifying the base form. Return value string|null The string identifying the base form or NULL if this is not a base form. Overrides BaseFormIdInterface::getBaseFormId File core/modules/config_translation/src/Form/ConfigTranslationFormBase.php, line 100 Class ConfigTranslationFormBase Provides a base form for configuration translations. Namespace Drupal\config_translation\Form Code public function getBaseFormId() {

ViewUI::addDisplay

public ViewUI::addDisplay($plugin_id = 'page', $title = NULL, $id = NULL) Adds a new display handler to the view, automatically creating an ID. Parameters string $plugin_id: (optional) The plugin type from the Views plugin annotation. Defaults to 'page'. string $title: (optional) The title of the display. Defaults to NULL. string $id: (optional) The ID to use, e.g., 'default', 'page_1', 'block_2'. Defaults to NULL. Return value string|bool The key to the display in $view->display, or FALSE

RouteMatch::createFromRequest

public static RouteMatch::createFromRequest(Request $request) Creates a RouteMatch from a request. Parameters Request $request: A request object. Return value \Drupal\Core\Routing\RouteMatchInterface A new RouteMatch object if there's a matched route for the request. A new NullRouteMatch object otherwise (e.g., on a 404 page or when invoked prior to routing). File core/lib/Drupal/Core/Routing/RouteMatch.php, line 78 Class RouteMatch Default object representing the results of routing. N

ViewUI::$renderPreview

File core/modules/views_ui/src/ViewUI.php, line 87 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public $renderPreview = FALSE;

install_bootstrap_full

install_bootstrap_full() Performs a full bootstrap of Drupal during installation. File core/includes/install.core.inc, line 1455 API functions for installing Drupal. Code function install_bootstrap_full() { // Store the session on the request object and start it. /** @var \Symfony\Component\HttpFoundation\Session\SessionInterface $session */ $session = \Drupal::service('session'); \Drupal::request()->setSession($session); $session->start(); }

ViewEditForm::rebuildCurrentTab

public ViewEditForm::rebuildCurrentTab(ViewUI $view, AjaxResponse $response, $display_id) Regenerate the current tab for AJAX updates. Parameters \Drupal\views_ui\ViewUI $view: The view to regenerate its tab. \Drupal\Core\Ajax\AjaxResponse $response: The response object to add new commands to. string $display_id: The display ID of the tab to regenerate. File core/modules/views_ui/src/ViewEditForm.php, line 654 Class ViewEditForm Form controller for the Views edit form. Namespace Drupal

RevisionLogEntityTrait

Provides a trait for accessing revision logging and ownership information. Hierarchy trait \Drupal\Core\Entity\RevisionLogEntityTrait Related topics Entity API Describes how to define and manipulate content and configuration entities. File core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php, line 13 Namespace Drupal\Core\Entity Members Name Modifiers Type Description RevisionLogEntityTrait::getRevisionCreationTime public function Implements \Drupal\Core\Entity\Revis

BookManager::getBookParents

public BookManager::getBookParents(array $item, array $parent = array()) Overrides BookManagerInterface::getBookParents File core/modules/book/src/BookManager.php, line 284 Class BookManager Defines a book manager. Namespace Drupal\book Code public function getBookParents(array $item, array $parent = array()) { $book = array(); if ($item['pid'] == 0) { $book['p1'] = $item['nid']; for ($i = 2; $i <= static::BOOK_MAX_DEPTH; $i++) { $parent_property = "p$i"; $bo