Shortcut

Defines the shortcut entity class. @property \Drupal\link\LinkItemInterface link Plugin annotation @ContentEntityType( id = "shortcut", label = @Translation("Shortcut link"), handlers = { "access" = "Drupal\shortcut\ShortcutAccessControlHandler", "form" = { "default" = "Drupal\shortcut\ShortcutForm", "add" = "Drupal\shortcut\ShortcutForm", "edit" = "Drupal\shortcut\ShortcutForm", "delete" = "Drupal\shortcut\Form\ShortcutDeleteForm" }, "translation"

PageVariantInterface

Provides an interface for PageDisplayVariant plugins. Page display variants are a specific type of DisplayVariant, intended for "pages", which always have some main content to be rendered. Hence page display variants may choose to render that main content in a certain way: decorated in a certain way, laid out in a certain way, et cetera. For example, the \Drupal\block\Plugin\DisplayVariant\FullPageVariant page display variant is used by the Block module to control regions and output blocks plac

CssCollectionGrouper::group

public CssCollectionGrouper::group(array $css_assets) Puts multiple items into the same group if they are groupable and if they are for the same 'media' and 'browsers'. Items of the 'file' type are groupable if their 'preprocess' flag is TRUE, and items of the 'external' type are never groupable. Also ensures that the process of grouping items does not change their relative order. This requirement may result in multiple groups for the same type, media, and browsers, if needed to accommodate ot

ConfigHandlerGroup

Provides a form for configuring grouping information for a Views UI handler. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\views_ui\Form\Ajax\ViewsFormBase implements ViewsFormInterfaceclass \Drupal\views_ui\Form\Ajax\ConfigHandlerGroup File core/modules/views_ui/src/Form/Ajax/ConfigHan

ViewEditForm

Form controller for the Views edit form. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\views_ui\ViewFormBaseclass \Drupal\views_ui\ViewEditForm File core/modules/views_ui/src/ViewEditForm.php, line 23 Namespace Drup

file_unmanaged_prepare

file_unmanaged_prepare($source, &$destination = NULL, $replace = FILE_EXISTS_RENAME) Internal function that prepares the destination for a file_unmanaged_copy or file_unmanaged_move operation. Checks if $source and $destination are valid and readable/writable. Checks that $source is not equal to $destination; if they are an error is reported. If file already exists in $destination either the call will error out, replace the file or rename the file based on the $replace parameter. Paramete

Renderer::replacePlaceholders

protected Renderer::replacePlaceholders(array &$elements) Replaces placeholders. Placeholders may have: #lazy_builder callback, to build a render array to be rendered into markup that can replace the placeholder #cache: to cache the result of the placeholder Also merges the bubbleable metadata resulting from the rendering of the contents of the placeholders. Hence $elements will be contain the entirety of bubbleable metadata. @returns bool Whether placeholders were replaced. Parameters

ContentEntityStorageBase::invokeFieldMethod

protected ContentEntityStorageBase::invokeFieldMethod($method, ContentEntityInterface $entity) Invokes a method on the Field objects within an entity. Any argument passed will be forwarded to the invoked method. Parameters string $method: The name of the method to be invoked. \Drupal\Core\Entity\ContentEntityInterface $entity: The entity object. Return value array A multidimensional associative array of results, keyed by entity translation language code and field name. File core/lib/Drupal/Co

View

Provides a render element to display a view. Plugin annotation @RenderElement("view") Hierarchy class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterfaceclass \Drupal\Core\Plugin\PluginBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Render\Element\RenderElement implements ElementInterfaceclass \Drupal\views\Element\View File core/modules/views/src/Element/View.php, line 13 Namespace Drupal\views\Elem

ModerationStateTransitionForm

Class ModerationStateTransitionForm. @package Drupal\content_moderation\Form Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\content_moderation\Form\ModerationStateTransitionForm File core/modules/content_moderation/src/Fo