ViewEditForm::submitDisplayEnable

public ViewEditForm::submitDisplayEnable($form, FormStateInterface $form_state) Submit handler to enable a disabled display. File core/modules/views_ui/src/ViewEditForm.php, line 592 Class ViewEditForm Form controller for the Views edit form. Namespace Drupal\views_ui Code public function submitDisplayEnable($form, FormStateInterface $form_state) { $view = $this->entity; $id = $form_state->get('display_id'); // setOption doesn't work because this would might affect upper di

SqlContentEntityStorageSchema::processRevisionDataTable

protected SqlContentEntityStorageSchema::processRevisionDataTable(ContentEntityTypeInterface $entity_type, array &$schema) Processes the gathered schema for a base table. Parameters \Drupal\Core\Entity\ContentEntityTypeInterface $entity_type: The entity type. array $schema: The table schema, passed by reference. Return value array A partial schema array for the base table. File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 1049 Class SqlContentEntityStorageSc

user.module

Enables the user registration and login system. File core/modules/user/user.module Functions Name Description template_preprocess_user Prepares variables for user templates. template_preprocess_username Prepares variables for username templates. user_cancel Cancel a user account. user_cancel_methods Helper function to return available account cancellation methods. user_cancel_url Generates a URL to confirm an account cancellation request. user_cookie_delete Delete

SqlContentEntityStorageSchema::hasNullFieldPropertyData

protected SqlContentEntityStorageSchema::hasNullFieldPropertyData($table_name, $column_name) Checks whether a field property has NULL values. Parameters string $table_name: The name of the table to inspect. string $column_name: The name of the column holding the field property data. Return value bool TRUE if NULL data is found, FALSE otherwise. File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 1546 Class SqlContentEntityStorageSchema Defines a schema handler th

ContentEntityFormInterface::validateForm

public ContentEntityFormInterface::validateForm(array &$form, FormStateInterface $form_state) Note that extending classes should not override this method to add entity validation logic, but define further validation constraints using the entity validation API and/or provide a new validation constraint if necessary. This is the only way to ensure that the validation logic is correctly applied independently of form submissions; e.g., for REST requests. For more information about entity valid

ViewEditForm::$tempStore

The views temp store. Type: \Drupal\user\SharedTempStore File core/modules/views_ui/src/ViewEditForm.php, line 30 Class ViewEditForm Form controller for the Views edit form. Namespace Drupal\views_ui Code protected $tempStore;

Tour::resetKeyedRoutes

public Tour::resetKeyedRoutes() Resets the statically cached keyed routes. Overrides TourInterface::resetKeyedRoutes File core/modules/tour/src/Entity/Tour.php, line 164 Class Tour Defines the configured tour entity. Namespace Drupal\tour\Entity Code public function resetKeyedRoutes() { unset($this->keyedRoutes); }

rdf_preprocess_field__node__uid

rdf_preprocess_field__node__uid(&$variables) Implements hook_preprocess_HOOK() for UID field templates. File core/modules/rdf/rdf.module, line 279 Enables semantically enriched output for Drupal sites in the form of RDFa. Code function rdf_preprocess_field__node__uid(&$variables) { _rdf_set_field_rel_attribute($variables); }

HelpController::create

public static HelpController::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 c

FormBase::getRequest

protected FormBase::getRequest() Gets the request object. Return value \Symfony\Component\HttpFoundation\Request $request The request object. File core/lib/Drupal/Core/Form/FormBase.php, line 153 Class FormBase Provides a base class for forms. Namespace Drupal\Core\Form Code protected function getRequest() { if (!$this->requestStack) { $this->requestStack = \Drupal::service('request_stack'); } return $this->requestStack->getCurrentRequest(); }