UserController::userPage

public UserController::userPage() Redirects users to their profile page. This controller assumes that it is only invoked for authenticated users. This is enforced for the 'user.page' route with the '_user_is_logged_in' requirement. Return value \Symfony\Component\HttpFoundation\RedirectResponse Returns a redirect to the profile of the currently logged in user. File core/modules/user/src/Controller/UserController.php, line 256 Class UserController Controller routines for user routes. Nam

template_preprocess_views_view_unformatted

template_preprocess_views_view_unformatted(&$variables) Prepares variables for views unformatted rows templates. Default template: views-view-unformatted.html.twig. Parameters array $variables: An associative array containing: view: The view object. rows: An array of row items. Each row is an array of content. File core/modules/views/views.theme.inc, line 776 Preprocessors and helper functions to make theming easier. Code function template_preprocess_views_view_unformatted(&$vari

EntityDisplayFormBase::thirdPartySettingsForm

abstract protected EntityDisplayFormBase::thirdPartySettingsForm(PluginSettingsInterface $plugin, FieldDefinitionInterface $field_definition, array $form, FormStateInterface $form_state) Adds the widget or formatter third party settings forms. Parameters \Drupal\Core\Field\PluginSettingsInterface $plugin: The widget or formatter. \Drupal\Core\Field\FieldDefinitionInterface $field_definition: The field definition. array $form: The (entire) configuration form array. \Drupal\Core\Form\FormStateIn

ContentEntityType::$entity_type_class

The class used to represent the entity type. It must implement \Drupal\Core\Entity\EntityTypeInterface. Type: string Overrides EntityType::$entity_type_class File core/lib/Drupal/Core/Entity/Annotation/ContentEntityType.php, line 24 Class ContentEntityType Defines a content entity type annotation object. Namespace Drupal\Core\Entity\Annotation Code public $entity_type_class = 'Drupal\Core\Entity\ContentEntityType';

ActionFormBase::$storage

The action storage. Type: \Drupal\Core\Entity\EntityStorageInterface File core/modules/action/src/ActionFormBase.php, line 28 Class ActionFormBase Provides a base form for action forms. Namespace Drupal\action Code protected $storage;

Schema::fieldSetNoDefault

public Schema::fieldSetNoDefault($table, $field) Set a field to have no default value. Parameters $table: The table to be altered. $field: The field to be altered. Throws \Drupal\Core\Database\SchemaObjectDoesNotExistException If the specified table or field doesn't exist. Overrides Schema::fieldSetNoDefault File core/lib/Drupal/Core/Database/Driver/mysql/Schema.php, line 442 Class Schema MySQL implementation of \Drupal\Core\Database\Schema. Namespace Drupal\Core\Database\Driver\mysql

node_modules_installed

node_modules_installed($modules) Implements hook_modules_installed(). File core/modules/node/node.module, line 1281 The core module that allows content to be submitted to the site. Code function node_modules_installed($modules) { // Check if any of the newly enabled modules require the node_access table to // be rebuilt. if (!node_access_needs_rebuild() && array_intersect($modules, \Drupal::moduleHandler()->getImplementations('node_grants'))) { node_access_needs_rebuild(T

EntityAccessControlHandler::getCache

protected EntityAccessControlHandler::getCache($cid, $operation, $langcode, AccountInterface $account) Tries to retrieve a previously cached access value from the static cache. Parameters string $cid: Unique string identifier for the entity/operation, for example the entity UUID or a custom string. string $operation: The entity operation. Usually one of 'view', 'update', 'create' or 'delete'. string $langcode: The language code for which to check access. \Drupal\Core\Session\AccountInterface $

EntityViewsData

Provides generic views integration for entities. Hierarchy class \Drupal\views\EntityViewsData implements EntityHandlerInterface, EntityViewsDataInterface uses StringTranslationTrait File core/modules/views/src/EntityViewsData.php, line 21 Namespace Drupal\views Members Name Modifiers Type Description EntityViewsData::$entityManager protected property The entity manager. EntityViewsData::$entityType protected property Entity type for this views data handler insta

FormStateInterface::addBuildInfo

public FormStateInterface::addBuildInfo($property, $value) Adds a value to the build info. Parameters string $property: The property to use for the value. mixed $value: The value to set. Return value $this File core/lib/Drupal/Core/Form/FormStateInterface.php, line 254 Class FormStateInterface Provides an interface for an object containing the current state of a form. Namespace Drupal\Core\Form Code public function addBuildInfo($property, $value);