install_run_tasks

install_run_tasks(&$install_state) Runs all tasks for the current installation request. In the case of an interactive installation, all tasks will be attempted until one is reached that has output which needs to be displayed to the user, or until a page redirect is required. Otherwise, tasks will be attempted until the installation is finished. Parameters $install_state: An array of information about the current installation state. This is passed along to each task, so it can be modified i

LanguageInterface::LANGCODE_DEFAULT

Language code referring to the default language of data, e.g. of an entity. See the BCP 47 syntax for defining private language tags: http://www.rfc-editor.org/rfc/bcp/bcp47.txt File core/lib/Drupal/Core/Language/LanguageInterface.php, line 47 Class LanguageInterface Defines a language. Namespace Drupal\Core\Language Code const LANGCODE_DEFAULT = 'x-default';

QueryAggregateInterface::conditionAggregateGroupFactory

public QueryAggregateInterface::conditionAggregateGroupFactory($conjunction = 'AND') Creates an object holding a group of conditions. See andConditionAggregateGroup() and orConditionAggregateGroup() for more. Parameters string $conjunction: AND (default): this is the equivalent of andConditionAggregateGroup(). OR: this is the equivalent of andConditionAggregateGroup(). Return value ConditionInterface An object holding a group of conditions. File core/lib/Drupal/Core/Entity/Query/QueryAggr

Database::convertDbUrlToConnectionInfo

public static Database::convertDbUrlToConnectionInfo($url, $root) Converts a URL to a database connection info array. Parameters string $url: The URL. string $root: The root directory of the Drupal installation. Return value array The database connection info. Throws \InvalidArgumentException Exception thrown when the provided URL does not meet the minimum requirements. File core/lib/Drupal/Core/Database/Database.php, line 457 Class Database Primary front-controller for the database sys

Cron::invokeCronHandlers

protected Cron::invokeCronHandlers() Invokes any cron handlers implementing hook_cron. File core/lib/Drupal/Core/Cron.php, line 196 Class Cron The Drupal core Cron service. Namespace Drupal\Core Code protected function invokeCronHandlers() { $module_previous = ''; // Iterate through the modules calling their cron handlers (if any): foreach ($this->moduleHandler->getImplementations('cron') as $module) { if (!$module_previous) { $this->logger->notice('Starti

EntityStorageInterface::create

public EntityStorageInterface::create(array $values = array()) Constructs a new entity object, without permanently saving it. Parameters array $values: (optional) An array of values to set, keyed by property name. If the entity type has bundles, the bundle key has to be specified. Return value \Drupal\Core\Entity\EntityInterface A new entity object. File core/lib/Drupal/Core/Entity/EntityStorageInterface.php, line 117 Class EntityStorageInterface Defines the interface for entity storage

EntityViewController::buildTitle

public EntityViewController::buildTitle(array $page) Pre-render callback to build the page title. Parameters array $page: A page render array. Return value array The changed page render array. File core/lib/Drupal/Core/Entity/Controller/EntityViewController.php, line 63 Class EntityViewController Defines a generic controller to render a single entity. Namespace Drupal\Core\Entity\Controller Code public function buildTitle(array $page) { $entity_type = $page['#entity_type']; $enti

ProxyBuilder::buildConstructorMethod

protected ProxyBuilder::buildConstructorMethod() Builds the constructor used to inject the actual service ID. Return value string File core/lib/Drupal/Component/ProxyBuilder/ProxyBuilder.php, line 320 Class ProxyBuilder Generates the string representation of the proxy service. Namespace Drupal\Component\ProxyBuilder Code protected function buildConstructorMethod() { $output = <<<'EOS' /** * Constructs a ProxyClass Drupal proxy object. * * @param \Symfony\Component\Depend

CacheFactory::__construct

public CacheFactory::__construct(Settings $settings, array $default_bin_backends = array()) Constructs CacheFactory object. Parameters \Drupal\Core\Site\Settings $settings: The settings array. array $default_bin_backends: (optional) A mapping of bin to backend service name. Mappings in $settings take precedence over this. File core/lib/Drupal/Core/Cache/CacheFactory.php, line 45 Class CacheFactory Namespace Drupal\Core\Cache Code public function __construct(Settings $settings, array

ForumManagerInterface::getTopics

public ForumManagerInterface::getTopics($tid, AccountInterface $account) Gets list of forum topics. Parameters int $tid: Term ID. \Drupal\Core\Session\AccountInterface $account: Account to fetch topics for. Return value array Array with keys 'topics' and 'header'. File core/modules/forum/src/ForumManagerInterface.php, line 24 Class ForumManagerInterface Provides forum manager interface. Namespace Drupal\forum Code public function getTopics($tid, AccountInterface $account);