EntityManager::hasDefinition

public EntityManager::hasDefinition($plugin_id) Overrides DiscoveryInterface::hasDefinition Deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. File core/lib/Drupal/Core/Entity/EntityManager.php, line 493 Class EntityManager Provides a wrapper around many other services relating to entities. Namespace Drupal\Core\Entity Code public function hasDefinition($plugin_id) { return $this->container->get('entity_type.manager')->hasDefinition($plugin_id); }

TypedDataInterface

Interface for typed data objects. Hierarchy interface \Drupal\Core\TypedData\TypedDataInterface See also \Drupal\Core\TypedData\DataDefinitionInterface Related topics Typed Data API API for describing data based on a set of available data types. File core/lib/Drupal/Core/TypedData/TypedDataInterface.php, line 12 Namespace Drupal\Core\TypedData Members Name Modifiers Type Description TypedDataInterface::applyDefaultValue public function Applies the default value. Typ

ConfigHandlerGroup::getFormId

public ConfigHandlerGroup::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/views_ui/src/Form/Ajax/ConfigHandlerGroup.php, line 42 Class ConfigHandlerGroup Provides a form for configuring grouping information for a Views UI handler. Namespace Drupal\views_ui\Form\Ajax Code public function getFormId() { return 'views_ui_config_item_group_form'; }

ConfigHandlerGroup::getFormKey

public ConfigHandlerGroup::getFormKey() Returns the key that represents this form. Return value string The form key used in the URL, e.g., the string 'add-handler' in 'admin/structure/views/%/add-handler/%/%/%'. Overrides ViewsFormInterface::getFormKey File core/modules/views_ui/src/Form/Ajax/ConfigHandlerGroup.php, line 26 Class ConfigHandlerGroup Provides a form for configuring grouping information for a Views UI handler. Namespace Drupal\views_ui\Form\Ajax Code public function getF

field_purge_batch

field_purge_batch($batch_size, $field_storage_uuid = NULL) Purges a batch of deleted Field API data, field storages, or fields. This function will purge deleted field data in batches. The batch size is defined as an argument to the function, and once each batch is finished, it continues with the next batch until all have completed. If a deleted field with no remaining data records is found, the field itself will be purged. If a deleted field storage with no remaining fields is found, the field

UserListBuilder::__construct

public UserListBuilder::__construct(EntityTypeInterface $entity_type, EntityStorageInterface $storage, QueryFactory $query_factory, DateFormatterInterface $date_formatter, RedirectDestinationInterface $redirect_destination) Constructs a new UserListBuilder object. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition. \Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage class. \Drupal\Core\Entity\Query\QueryFactory $query_factory: The en

Display::getForm

public Display::getForm(ViewEntityInterface $view, $display_id, $js, $type = NULL) Creates a new instance of this form. @todo When https://www.drupal.org/node/1843224 is in, this will return \Drupal\Core\Ajax\AjaxResponse instead of the array of AJAX commands. Parameters \Drupal\views\ViewEntityInterface $view: The view being edited. string|null $display_id: The display ID being edited, or NULL to load the first available display. string $js: If this is an AJAX form, it will be the string 'aja

DataDefinitionInterface::isComputed

public DataDefinitionInterface::isComputed() Determines whether the data value is computed. For example, data could be computed depending on some other values. Return value bool Whether the data value is computed. File core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php, line 104 Class DataDefinitionInterface Interface for data definitions. Namespace Drupal\Core\TypedData Code public function isComputed();

field_ui_form_node_type_form_submit

field_ui_form_node_type_form_submit($form, FormStateInterface $form_state) Form submission handler for the 'Save and manage fields' button. See also field_ui_form_node_type_form_alter() File core/modules/field_ui/field_ui.module, line 184 Allows administrators to attach custom fields to fieldable types. Code function field_ui_form_node_type_form_submit($form, FormStateInterface $form_state) { if ($form_state->getTriggeringElement()['#parents'][0] === 'save_continue' && $route_in

Display::getFormId

public Display::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/views_ui/src/Form/Ajax/Display.php, line 50 Class Display Provides a form for editing the Views display. Namespace Drupal\views_ui\Form\Ajax Code public function getFormId() { return 'views_ui_edit_display_form'; }