FILE_WRITABLE

File permission check -- File is writable. File core/includes/install.inc, line 49 API functions for installing modules and themes. Code const FILE_WRITABLE = 4;

template_preprocess_views_ui_build_group_filter_form

template_preprocess_views_ui_build_group_filter_form(&$variables) Prepares variables for Views UI build group filter form templates. Default template: views-ui-build-group-filter-form.html.twig. Parameters array $variables: An associative array containing: form: A render element representing the form. File core/modules/views_ui/views_ui.theme.inc, line 78 Preprocessors and theme functions for the Views UI. Code function template_preprocess_views_ui_build_group_filter_form(&$variab

ConfigTranslationAddForm

Defines a form for adding configuration translations. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\config_translation\Form\ConfigTranslationFormBase implements BaseFormIdInterfaceclass \Drupal\config_translation\Form\ConfigTranslationAddForm File core/modules/config_translation/src/For

AccountSwitcherInterface

Defines an interface for a service for safe account switching. Hierarchy interface \Drupal\Core\Session\AccountSwitcherInterface Related topics User accounts, permissions, and roles API for user accounts, access checking, roles, and permissions. File core/lib/Drupal/Core/Session/AccountSwitcherInterface.php, line 10 Namespace Drupal\Core\Session Members Name Modifiers Type Description AccountSwitcherInterface::switchBack public function Reverts to a previous account af

ManagedFile::valueCallback

public static ManagedFile::valueCallback(&$element, $input, FormStateInterface $form_state) Determines how user input is mapped to an element's #value property. Parameters array $element: An associative array containing the properties of the element. mixed $input: The incoming input to populate the form element. If this is FALSE, the element's default value should be returned. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value mixed The value to

CSS_COMPONENT

The default weight for CSS rules that style design components (and their associated states and themes.) File core/includes/common.inc, line 94 Common functions that many Drupal modules will need to reference. Code const CSS_COMPONENT = 0;

DatabaseQueue

Default queue implementation. Hierarchy class \Drupal\Core\Queue\DatabaseQueue implements QueueGarbageCollectionInterface, ReliableQueueInterface uses DependencySerializationTrait Related topics Queue operations Queue items to allow later processing. File core/lib/Drupal/Core/Queue/DatabaseQueue.php, line 14 Namespace Drupal\Core\Queue Members Name Modifiers Type Description DatabaseQueue::$connection protected property The database connection. DatabaseQueue::$name

Message::baseFieldDefinitions

public static Message::baseFieldDefinitions(EntityTypeInterface $entity_type) Provides base field definitions for an entity type. Implementations typically use the class \Drupal\Core\Field\BaseFieldDefinition for creating the field definitions; for example a 'name' field could be defined as the following: $fields['name'] = BaseFieldDefinition::create('string') ->setLabel(t('Name')); By definition, base fields are fields that exist for every bundle. To provide definitions for fields that

ChainBreadcrumbBuilderInterface::addBuilder

public ChainBreadcrumbBuilderInterface::addBuilder(BreadcrumbBuilderInterface $builder, $priority) Adds another breadcrumb builder. Parameters \Drupal\Core\Breadcrumb\BreadcrumbBuilderInterface $builder: The breadcrumb builder to add. int $priority: Priority of the breadcrumb builder. File core/lib/Drupal/Core/Breadcrumb/ChainBreadcrumbBuilderInterface.php, line 18 Class ChainBreadcrumbBuilderInterface Defines an interface a chained service that builds the breadcrumb. Namespace Drupal\

ModulesListForm::create

public static ModulesListForm::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The service