user_view

user_view($account, $view_mode = 'full', $langcode = NULL) Generate an array for rendering the given user. When viewing a user profile, the $page array contains: $page['content']['member_for']: Contains the default "Member for" profile data for a user. $page['content']['#user']: The user account of the profile being viewed. To theme user profiles, copy core/modules/user/templates/user.html.twig to your theme directory, and edit it as instructed in that file's comments. Parameters \Drupal\use

OptimizedPhpArrayDumper::getServiceCall

protected OptimizedPhpArrayDumper::getServiceCall($id, $invalid_behavior = ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE) Gets a service reference for an ID in a suitable PHP array format. Parameters string $id: The ID of the service to get a reference for. int $invalid_behavior: (optional) The invalid behavior of the service. Return value string|\stdClass A suitable representation of the service reference. File core/lib/Drupal/Component/DependencyInjection/Dumper/OptimizedPhpArrayDumper

MetadataBubblingUrlGenerator::generateFromRoute

public MetadataBubblingUrlGenerator::generateFromRoute($name, $parameters = array(), $options = array(), $collect_bubbleable_metadata = FALSE) Generates a URL or path for a specific route based on the given parameters. Parameters that reference placeholders in the route pattern will be substituted for them in the pattern. Extra params are added as query strings to the URL. @internal Should not be used in user code. Use \Drupal\Core\Url instead. Parameters string|\Symfony\Component\Routing\Rout

DynamicPageCacheSubscriber::$requestPolicyResults

Internal cache of request policy results. Type: \SplObjectStorage File core/modules/dynamic_page_cache/src/EventSubscriber/DynamicPageCacheSubscriber.php, line 97 Class DynamicPageCacheSubscriber Returns cached responses as early and avoiding as much work as possible. Namespace Drupal\dynamic_page_cache\EventSubscriber Code protected $requestPolicyResults;

ProxyBuilder::buildMethod

protected ProxyBuilder::buildMethod(\ReflectionMethod $reflection_method) Generates the string representation of a single method: signature, body. Parameters \ReflectionMethod $reflection_method: A reflection method for the method. Return value string File core/lib/Drupal/Component/ProxyBuilder/ProxyBuilder.php, line 209 Class ProxyBuilder Generates the string representation of the proxy service. Namespace Drupal\Component\ProxyBuilder Code protected function buildMethod(\ReflectionM

ContentEntityBase::hasTranslationChanges

public ContentEntityBase::hasTranslationChanges() Determines if the current translation of the entity has unsaved changes. If the entity is translatable only translatable fields will be checked for changes. Return value bool TRUE if the current translation of the entity has changes. Overrides ContentEntityInterface::hasTranslationChanges File core/lib/Drupal/Core/Entity/ContentEntityBase.php, line 1187 Class ContentEntityBase Implements Entity Field API specific enhancements to the Entity

SqlContentEntityStorageSchema::getSharedTableFieldSchema

protected SqlContentEntityStorageSchema::getSharedTableFieldSchema(FieldStorageDefinitionInterface $storage_definition, $table_name, array $column_mapping) Gets the schema for a single field definition. Entity types may override this method in order to optimize the generated schema for given field. While all optimizations that apply to a single field have to be added here, all cross-field optimizations should be via SqlContentEntityStorageSchema::getEntitySchema() instead; e.g., an index spanni

TranslationString

Defines the locale translation string object. This class represents a translation of a source string to a given language, thus it must have at least a 'language' which is the language code and a 'translation' property which is the translated text of the source string in the specified language. Hierarchy class \Drupal\locale\StringBase implements StringInterfaceclass \Drupal\locale\TranslationString File core/modules/locale/src/TranslationString.php, line 13 Namespace Drupal\locale Mem

TableSortExtender

Query extender class for tablesort queries. Hierarchy class \Drupal\Core\Database\Query\SelectExtender implements SelectInterfaceclass \Drupal\Core\Database\Query\TableSortExtender File core/lib/Drupal/Core/Database/Query/TableSortExtender.php, line 10 Namespace Drupal\Core\Database\Query Members Name Modifiers Type Description SelectExtender::$connection protected property The connection object on which to run this query. SelectExtender::$placeholder protected pr

Connection

PostgreSQL implementation of \Drupal\Core\Database\Connection. Hierarchy class \Drupal\Core\Database\Connectionclass \Drupal\Core\Database\Driver\pgsql\Connection Related topics Database abstraction layer Allow the use of different database servers using the same code base. File core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php, line 17 Namespace Drupal\Core\Database\Driver\pgsql Members Name Modifiers Type Description Connection::$connection protected property