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

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

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

RestResourceConfig::normalizeRestMethod

protected RestResourceConfig::normalizeRestMethod($method) Normalizes the method to upper case and check validity. Parameters string $method: The request method. Return value string The normalised request method. Throws \InvalidArgumentException If the method is not supported. File core/modules/rest/src/Entity/RestResourceConfig.php, line 257 Class RestResourceConfig Defines a RestResourceConfig configuration entity class. Namespace Drupal\rest\Entity Code protected function normali

FieldConfigEditForm::form

public FieldConfigEditForm::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/field_ui/src/Form/FieldConfigEditForm.php, line 30 Class FieldConfigEditForm Provides a form for the field settings form. Namespace Drupal\field_ui\Form Code public function form(array $form, FormStateInterface $form_state) {

update.manager.inc

Administrative screens and processing functions of the Update Manager module. This allows site administrators with the 'administer software updates' permission to either upgrade existing projects, or download and install new ones, so long as the killswitch setting ('allow_authorize_operations') is not FALSE. To install new code, the administrator is prompted for either the URL of an archive file, or to directly upload the archive file. The archive is loaded into a temporary location, extracted,

VariantBase

Provides a base class for DisplayVariant plugins. Hierarchy class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterfaceclass \Drupal\Core\Plugin\PluginBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Display\VariantBase implements VariantInterface uses RefinableCacheableDependencyTrait, PluginDependencyTrait See also \Drupal\Core\Display\Annotation\DisplayVariant \Drupal\Core\Display\VariantInterface \Drupal