Query::$connectionTarget

The target of the connection object. Type: string File core/lib/Drupal/Core/Database/Query/Query.php, line 28 Class Query Base class for query builders. Namespace Drupal\Core\Database\Query Code protected $connectionTarget;

ContentTranslationManager::isEnabled

public ContentTranslationManager::isEnabled($entity_type_id, $bundle = NULL) Determines whether the given entity type is translatable. @returns bool TRUE if the specified bundle is translatable. If no bundle is provided returns TRUE if at least one of the entity bundles is translatable. Parameters string $entity_type_id: The type of the entity. string $bundle: (optional) The bundle of the entity. If no bundle is provided, all the available bundles are checked. Overrides ContentTranslationManag

NullBackend::set

public NullBackend::set($cid, $data, $expire = Cache::PERMANENT, array $tags = array()) Stores data in the persistent cache. Core cache implementations set the created time on cache item with microtime(TRUE) rather than REQUEST_TIME_FLOAT, because the created time of cache items should match when they are created, not when the request started. Apart from being more accurate, this increases the chance an item will legitimately be considered valid. Parameters string $cid: The cache ID of the dat

InvalidLibraryFileException

Defines an exception if the library file could not be parsed. Hierarchy class \Drupal\Core\Asset\Exception\InvalidLibraryFileException extends \RunTimeException File core/lib/Drupal/Core/Asset/Exception/InvalidLibraryFileException.php, line 8 Namespace Drupal\Core\Asset\Exception Members

install_display_output

install_display_output($output, $install_state) Displays themed installer output and ends the page request. Installation tasks should use #title to set the desired page title, but otherwise this function takes care of theming the overall page output during every step of the installation. Parameters $output: The content to display on the main part of the page. $install_state: An array of information about the current installation state. File core/includes/install.core.inc, line 961 API function

Connection::nextId

public Connection::nextId($existing_id = 0) Retrieves an unique ID from a given sequence. Use this function if for some reason you can't use a serial field. For example, MySQL has no ways of reading of the current value of a sequence and PostgreSQL can not advance the sequence to be larger than a given value. Or sometimes you just need a unique integer. Parameters $existing_id: (optional) After a database import, it might be that the sequences table is behind, so by passing in the maximum exis

AccessResult::cacheUntilConfigurationChanges

public AccessResult::cacheUntilConfigurationChanges(ConfigBase $configuration) Convenience method, adds the configuration object's cache tag. Parameters \Drupal\Core\Config\ConfigBase $configuration: The configuration object whose cache tag to set on the access result. Return value $this Deprecated in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use ::addCacheableDependency() instead. File core/lib/Drupal/Core/Access/AccessResult.php, line 280 Class AccessResult Value object

TranslatableMarkup::__construct

public TranslatableMarkup::__construct($string, array $arguments = array(), array $options = array(), TranslationInterface $string_translation = NULL) Constructs a new class instance. When possible, use the \Drupal\Core\StringTranslation\StringTranslationTrait $this->t(). Otherwise create a new \Drupal\Core\StringTranslation\TranslatableMarkup object directly. Calling the trait's t() method or instantiating a new TranslatableMarkup object serves two purposes: At run-time it translates user-v

ContactFormListBuilder

Defines a class to build a listing of contact form entities. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityListBuilder implements EntityHandlerInterface, EntityListBuilderInterfaceclass \Drupal\Core\Config\Entity\ConfigEntityListBuilderclass \Drupal\contact\ContactFormListBuilder See also \Drupal\contact\Entity\ContactForm File core/modules/contact/src/ContactFormListBuilder.php, line 13 N

NodeType::$description

A brief description of this node type. Type: string File core/modules/node/src/Entity/NodeType.php, line 72 Class NodeType Defines the Node type configuration entity. Namespace Drupal\node\Entity Code protected $description;