QueryAggregateInterface::conditionAggregate

public QueryAggregateInterface::conditionAggregate($field, $function = NULL, $value = NULL, $operator = '=', $langcode = NULL) Sets a condition for an aggregated value. Parameters string $field: The name of the field to aggregate by. string $function: The aggregation function, for example COUNT or MIN. mixed $value: The actual value of the field. $operator: Possible values: '=', '<>', '>', '>=', '<', '<=', 'STARTS_WITH', 'CONTAINS', 'ENDS_WITH': These operators expect $value

LocalAwareRedirectResponseTrait::getRequestContext

protected LocalAwareRedirectResponseTrait::getRequestContext() Returns the request context. Return value \Drupal\Core\Routing\RequestContext File core/lib/Drupal/Core/Routing/LocalAwareRedirectResponseTrait.php, line 31 Class LocalAwareRedirectResponseTrait Provides a trait which ensures that a URL is safe to redirect to. Namespace Drupal\Core\Routing Code protected function getRequestContext() { if (!isset($this->requestContext)) { $this->requestContext = \Drupal::service

TAXONOMY_HIERARCHY_DISABLED

Denotes that no term in the vocabulary has a parent. Deprecated in Drupal 8.2.x and will be removed before 9.0.0. Use \Drupal\taxonomy\VocabularyInterface::HIERARCHY_DISABLED instead. File core/modules/taxonomy/taxonomy.module, line 26 Enables the organization of content into categories. Code const TAXONOMY_HIERARCHY_DISABLED = 0;

ControllerResolver::__construct

public ControllerResolver::__construct(HttpMessageFactoryInterface $http_message_factory, ClassResolverInterface $class_resolver) Constructs a new ControllerResolver. Parameters \Symfony\Bridge\PsrHttpMessage\HttpMessageFactoryInterface $http_message_factory: The PSR-7 converter. \Drupal\Core\DependencyInjection\ClassResolverInterface $class_resolver: The class resolver. Overrides ControllerResolver::__construct File core/lib/Drupal/Core/Controller/ControllerResolver.php, line 52 Class Con

ContentEntityBase

Implements Entity Field API specific enhancements to the Entity class. Hierarchy class \Drupal\Core\Entity\Entity implements EntityInterface uses RefinableCacheableDependencyTrait, DependencySerializationTraitclass \Drupal\Core\Entity\ContentEntityBase implements \IteratorAggregate, ContentEntityInterface Related topics Entity API Describes how to define and manipulate content and configuration entities. File core/lib/Drupal/Core/Entity/ContentEntityBase.php, line 19 Namespace Drupal\

ElementInfoManagerInterface::getInfoProperty

public ElementInfoManagerInterface::getInfoProperty($type, $property_name, $default = NULL) Retrieves a single property for the defined element type. Parameters string $type: An element type as defined by an element plugin. string $property_name: The property within the element type that should be returned. $default: (Optional) The value to return if the element type does not specify a value for the property. Defaults to NULL. Return value string The property value of the defined element type

Connection::doEscape

protected Connection::doEscape($string) Escape a string if needed. Parameters $string: The string to escape. Return value string The escaped string. File core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php, line 252 Class Connection PostgreSQL implementation of \Drupal\Core\Database\Connection. Namespace Drupal\Core\Database\Driver\pgsql Code protected function doEscape($string) { // Quote identifier to make it case-sensitive. if (preg_match('/[A-Z]/', $string)) { $stri

ModerationHandler

Common customizations for most/all entities. This class is intended primarily as a base class. Hierarchy class \Drupal\content_moderation\Entity\Handler\ModerationHandler implements ModerationHandlerInterface, EntityHandlerInterface uses StringTranslationTrait File core/modules/content_moderation/src/Entity/Handler/ModerationHandler.php, line 18 Namespace Drupal\content_moderation\Entity\Handler Members Name Modifiers Type Description ModerationHandler::createInstance public

ConfigEntityBase::setThirdPartySetting

public ConfigEntityBase::setThirdPartySetting($module, $key, $value) Sets the value of a third-party setting. Parameters string $module: The module providing the third-party setting. string $key: The setting name. mixed $value: The setting value. Return value $this Overrides ThirdPartySettingsInterface::setThirdPartySetting File core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php, line 533 Class ConfigEntityBase Defines a base configuration entity class. Namespace Drupal\Core\Conf

BookController::$renderer

The renderer. Type: \Drupal\Core\Render\RendererInterface File core/modules/book/src/Controller/BookController.php, line 40 Class BookController Controller routines for book routes. Namespace Drupal\book\Controller Code protected $renderer;