WriteSafeSessionHandlerInterface::isSessionWritable

public WriteSafeSessionHandlerInterface::isSessionWritable() Returns whether or not a session may be written to storage. Return value bool TRUE if the session the session is allowed to be written, FALSE otherwise. File core/lib/Drupal/Core/Session/WriteSafeSessionHandlerInterface.php, line 29 Class WriteSafeSessionHandlerInterface Provides an interface for session handlers where writing can be disabled. Namespace Drupal\Core\Session Code public function isSessionWritable();

QueryFactory::getAggregate

public QueryFactory::getAggregate(EntityTypeInterface $entity_type, $conjunction) Instantiates an aggregation query object for a given entity type. Parameters \Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition. string $conjunction: AND: all of the conditions on the query need to match. OR: at least one of the conditions on the query need to match. Return value \Drupal\Core\Entity\Query\QueryAggregateInterface The query object that can query the given entity t

Entity::bundle

public Entity::bundle() Gets the bundle of the entity. Return value string The bundle of the entity. Defaults to the entity type ID if the entity type does not make use of different bundles. Overrides EntityInterface::bundle File core/lib/Drupal/Core/Entity/Entity.php, line 148 Class Entity Defines a base entity class. Namespace Drupal\Core\Entity Code public function bundle() { return $this->entityTypeId; }

LinkManager

Hierarchy class \Drupal\rest\LinkManager\LinkManager implements LinkManagerInterface File core/modules/rest/src/LinkManager/LinkManager.php, line 5 Namespace Drupal\rest\LinkManager Members Name Modifiers Type Description LinkManager::$relationLinkManager protected property The relation link manager. LinkManager::$typeLinkManager protected property The type link manager. LinkManager::getRelationInternalIds public function Translates a REST URI into intern

comment_cron

comment_cron() Implements hook_cron(). File core/modules/comment/comment.module, line 477 Enables users to comment on published content. Code function comment_cron() { // Store the maximum possible comments per thread (used for node search // ranking by reply count). \Drupal::state()->set('comment.node_comment_statistics_scale', 1.0 / max(1, \Drupal::service('comment.statistics')->getMaximumCount('node'))); }

DatabaseFileUsageBackend::$connection

The database connection used to store file usage information. Type: \Drupal\Core\Database\Connection File core/modules/file/src/FileUsage/DatabaseFileUsageBackend.php, line 18 Class DatabaseFileUsageBackend Defines the database file usage backend. This is the default Drupal backend. Namespace Drupal\file\FileUsage Code protected $connection;

DatabaseCacheTagsChecksum::$connection

The database connection. Type: \Drupal\Core\Database\Connection File core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php, line 18 Class DatabaseCacheTagsChecksum Cache tags invalidations checksum implementation that uses the database. Namespace Drupal\Core\Cache Code protected $connection;

EntityType::getConstraints

public EntityType::getConstraints() Gets an array of validation constraints. See \Drupal\Core\TypedData\DataDefinitionInterface::getConstraints() for details on how constraints are defined. Return value array[] An array of validation constraint definitions, keyed by constraint name. Each constraint definition can be used for instantiating \Symfony\Component\Validator\Constraint objects. Overrides EntityTypeInterface::getConstraints See also \Symfony\Component\Validator\Constraint File core/li

ArrayElement::toArray

public ArrayElement::toArray() Returns an array of all property values. Return value array An array of property values, keyed by property name. Overrides TypedConfigInterface::toArray File core/lib/Drupal/Core/Config/Schema/ArrayElement.php, line 98 Class ArrayElement Defines a generic configuration element that contains multiple properties. Namespace Drupal\Core\Config\Schema Code public function toArray() { return isset($this->value) ? $this->value : array(); }

Schema::introspectSchema

protected Schema::introspectSchema($table) Find out the schema of a table. This function uses introspection methods provided by the database to create a schema array. This is useful, for example, during update when the old schema is not available. Parameters $table: Name of the table. Return value An array representing the schema, from drupal_get_schema(). Throws \Exception If a column of the table could not be parsed. File core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php, line 442