ViewExecutable::$showAdminLinks

Should the admin links be shown on the rendered view. Type: bool File core/modules/views/src/ViewExecutable.php, line 415 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code protected $showAdminLinks;

BlockContentDeleteForm

Provides a confirmation form for deleting a custom block entity. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\Core\Entity\ContentEntityForm implements ContentEntityFormInterfaceclass \Drupal\Core\Entity\ContentEntityConfirmF

FieldConfigListController

Defines a controller to list field instances. Hierarchy class \Drupal\Core\Controller\ControllerBase implements ContainerInjectionInterface uses LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\Controller\EntityListControllerclass \Drupal\field_ui\Controller\FieldConfigListController File core/modules/field_ui/src/Controller/FieldConfigListController.php, line 11 Namespace Drupal\field_ui\Controller M

update_help

update_help($route_name, RouteMatchInterface $route_match) Implements hook_help(). File core/modules/update/update.module, line 69 Handles updates of Drupal core and contributed projects. Code function update_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.update': $output = ''; $output .= '<h3>' . t('About') . '</h3>'; $output .= '<p>' . t('The Update Manager module periodically checks for new versions of

PageDisplayVariantSelectionEvent::__construct

public PageDisplayVariantSelectionEvent::__construct($plugin_id, RouteMatchInterface $route_match) Constructs the page display variant plugin selection event. Parameters string $plugin_id: The ID of the page display variant plugin to use by default. \Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match, for context. File core/lib/Drupal/Core/Render/PageDisplayVariantSelectionEvent.php, line 62 Class PageDisplayVariantSelectionEvent Event fired when rendering main

color_scheme_form

color_scheme_form($complete_form, FormStateInterface $form_state, $theme) Form constructor for the color configuration form for a particular theme. Parameters $theme: The machine name of the theme whose color settings are being configured. See also color_scheme_form_validate() color_scheme_form_submit() File core/modules/color/color.module, line 200 Allows users to change the color scheme of themes. Code function color_scheme_form($complete_form, FormStateInterface $form_state, $theme) {

ContextAwareVariantInterface::setContexts

public ContextAwareVariantInterface::setContexts(array $contexts) Sets the context values for this display variant. Parameters \Drupal\Component\Plugin\Context\ContextInterface[] $contexts: An array of contexts, keyed by context name. Return value $this File core/lib/Drupal/Core/Display/ContextAwareVariantInterface.php, line 26 Class ContextAwareVariantInterface Provides an interface for variant plugins that are context-aware. Namespace Drupal\Core\Display Code public function setCon

PoStreamReader::readLine

private PoStreamReader::readLine() Reads a line from the PO stream and stores data internally. Expands $this->_current_item based on new data for the current item. If this line ends the current item, it is saved with setItemFromArray() with data from $this->_current_item. An internal state machine is maintained in this reader using $this->_context as the reading state. PO items are in between COMMENT states (when items have at least one line or comment in between them) or indicated by

EntityTypeInfo::bundleFormRedirect

public static EntityTypeInfo::bundleFormRedirect(array &$form, FormStateInterface $form_state) Redirect content entity edit forms on save, if there is a forward revision. When saving their changes, editors should see those changes displayed on the next page. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. File core/modules/content_moderation/src/EntityTypeInfo.php, line 379

CachedStorage::$cache

The instantiated Cache backend. Type: \Drupal\Core\Cache\CacheBackendInterface File core/lib/Drupal/Core/Config/CachedStorage.php, line 30 Class CachedStorage Defines the cached storage. Namespace Drupal\Core\Config Code protected $cache;