ConfigEntityStorage::doCreate

protected ConfigEntityStorage::doCreate(array $values) Performs storage-specific creation of entities. Parameters array $values: An array of values to set, keyed by property name. Return value \Drupal\Core\Entity\EntityInterface Overrides EntityStorageBase::doCreate File core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php, line 221 Class ConfigEntityStorage Defines the storage class for configuration entities. Namespace Drupal\Core\Config\Entity Code protected function doCreat

FilterUninstallValidator::validate

public FilterUninstallValidator::validate($module) Determines the reasons a module can not be uninstalled. Example implementation: public function validate($module) { $entity_types = $this->entityManager->getDefinitions(); $reasons = array(); foreach ($entity_types as $entity_type) { if ($module == $entity_type->getProvider() && $entity_type instanceof ContentEntityTypeInterface && $this->entityManager->getStorage($entity_type->id())->hasData()) {

UPDATE_NOT_SUPPORTED

Current release is no longer supported by the project maintainer. File core/modules/update/update.module, line 34 Handles updates of Drupal core and contributed projects. Code const UPDATE_NOT_SUPPORTED = 3;

ThemeManager::hasActiveTheme

public ThemeManager::hasActiveTheme() Determines whether there is an active theme. Return value bool Overrides ThemeManagerInterface::hasActiveTheme File core/lib/Drupal/Core/Theme/ThemeManager.php, line 104 Class ThemeManager Provides the default implementation of a theme manager. Namespace Drupal\Core\Theme Code public function hasActiveTheme() { return isset($this->activeTheme); }

BookManagerInterface::loadBookLink

public BookManagerInterface::loadBookLink($nid, $translate = TRUE) Loads a single book entry. The entries of a book entry is documented in \Drupal\book\BookOutlineStorageInterface::loadMultiple. If $translate is TRUE, it also checks access ('access' key) and loads the title from the node itself. Parameters int $nid: The node ID of the book. bool $translate: If TRUE, set access, title, and other elements. Return value array The book data of that node. See also \Drupal\book\BookOutlineStorageI

Url::access

public Url::access(AccountInterface $account = NULL) Checks this Url object against applicable access check services. Determines whether the route is accessible or not. Parameters \Drupal\Core\Session\AccountInterface $account: (optional) Run access checks for this account. Defaults to the current user. Return value bool Returns TRUE if the user has access to the url, otherwise FALSE. File core/lib/Drupal/Core/Url.php, line 789 Class Url Defines an object that holds information about a U

OpmlFeedAdd::$feedStorage

The feed storage. Type: \Drupal\aggregator\FeedStorageInterface File core/modules/aggregator/src/Form/OpmlFeedAdd.php, line 23 Class OpmlFeedAdd Imports feeds from OPML. Namespace Drupal\aggregator\Form Code protected $feedStorage;

StatementInterface::fetchAll

StatementInterface::fetchAll($mode = NULL, $column_index = NULL, $constructor_arguments = NULL) Returns an array containing all of the result set rows. Parameters $mode: One of the PDO::FETCH_* constants. $column_index: If $mode is PDO::FETCH_COLUMN, the index of the column to fetch. $constructor_arguments: If $mode is PDO::FETCH_CLASS, the arguments to pass to the constructor. Return value An array of results. File core/lib/Drupal/Core/Database/StatementInterface.php, line 158 Class Stat

SelectExtender::havingCondition

public SelectExtender::havingCondition($field, $value = NULL, $operator = '=') Helper function to build most common HAVING conditional clauses. This method can take a variable number of parameters. If called with two parameters, they are taken as $field and $value with $operator having a value of IN if $value is an array and = otherwise. Parameters $field: The name of the field to check. If you would like to add a more complex condition involving operators or functions, use having(). $value: T

SelectExtender::uniqueIdentifier

public SelectExtender::uniqueIdentifier() Returns a unique identifier for this object. Overrides PlaceholderInterface::uniqueIdentifier File core/lib/Drupal/Core/Database/Query/SelectExtender.php, line 45 Class SelectExtender The base extender class for Select queries. Namespace Drupal\Core\Database\Query Code public function uniqueIdentifier() { return $this->uniqueIdentifier; }