callback_batch_operation

callback_batch_operation($MULTIPLE_PARAMS, &$context) Perform a single batch operation. Callback for batch_set(). Parameters $MULTIPLE_PARAMS: Additional parameters specific to the batch. These are specified in the array passed to batch_set(). array|\ArrayAccess $context.: The batch context array, passed by reference. This contains the following properties: 'finished': A float number between 0 and 1 informing the processing engine of the completion level for the operation. 1 (or no value

JS_LIBRARY

The default group for JavaScript and jQuery libraries added to the page. File core/includes/common.inc, line 114 Common functions that many Drupal modules will need to reference. Code const JS_LIBRARY = -100;

EntityFormDisplayEditForm

Edit form for the EntityFormDisplay entity type. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\field_ui\Form\EntityDisplayFormBaseclass \Drupal\field_ui\Form\EntityFormDisplayEditForm File core/modules/field_ui/src/Form

SubformStateInterface

Stores information about the state of a subform. In the context of Drupal's Form API, a subform is a form definition array that will be nested into a "parent" form. For instance: $subform = [ 'method' => [ '#type' => 'select', // … ], ]; $form = [ // … 'settings' => $subform, ]; All input fields nested under "settings" are then considered part of that "subform". The concept is used mostly when the subform is defined by a different class (potentially even in a differen

UserPasswordResetForm::submitForm

public UserPasswordResetForm::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormInterface::submitForm File core/modules/user/src/Form/UserPasswordResetForm.php, line 67 Class UserPasswordResetForm Form controller for the user password forms. Namespace Drupal\user\Form Code p

views_post_update_cleanup_duplicate_views_data

views_post_update_cleanup_duplicate_views_data() Update some views fields that were previously duplicated. File core/modules/views/views.post_update.php, line 50 Post update functions for Views. Code function views_post_update_cleanup_duplicate_views_data() { $config_factory = \Drupal::configFactory(); $ids = []; $message = NULL; $data_tables = []; $base_tables = []; $revision_tables = []; $entities_by_table = []; $duplicate_fields = []; $handler_types = Views::getHandlerTyp

LocaleSettingsForm

Configure locale settings for this site. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Form\ConfigFormBase uses ConfigFormBaseTraitclass \Drupal\locale\Form\LocaleSettingsForm File core/modules/locale/src/Form/LocaleSettingsForm.php, line 11 Namespace Drupal\locale\Form Membe

EntityViewBuilder::buildMultiple

public EntityViewBuilder::buildMultiple(array $build_list) Builds multiple entities' views; augments entity defaults. This function is assigned as a #pre_render callback in ::viewMultiple(). By delaying the building of an entity until the #pre_render processing in drupal_render(), the processing cost of assembling an entity's renderable array is saved on cache-hit requests. Parameters array $build_list: A renderable array containing build information and context for an entity view. Return valu

NodeGrantDatabaseStorage::write

public NodeGrantDatabaseStorage::write(NodeInterface $node, array $grants, $realm = NULL, $delete = TRUE) Writes a list of grants to the database, deleting previously saved ones. If a realm is provided, it will only delete grants from that realm, but it will always delete a grant from the 'all' realm. Modules that use node access can use this method when doing mass updates due to widespread permission changes. Note: Don't call this method directly from a contributed module. Call \Drupal\node\No

Condition::exists

public Condition::exists(SelectInterface $select) Sets a condition that the specified subquery returns values. Parameters \Drupal\Core\Database\Query\SelectInterface $select: The subquery that must contain results. Return value \Drupal\Core\Database\Query\ConditionInterface The called object. Overrides ConditionInterface::exists File core/lib/Drupal/Core/Database/Query/Condition.php, line 116 Class Condition Generic class for a series of conditions in a query. Namespace Drupal\Core\Da