config_get_config_directory

config_get_config_directory($type) Returns the path of a configuration directory. Configuration directories are configured using $config_directories in settings.php. Parameters string $type: The type of config directory to return. Drupal core provides the CONFIG_SYNC_DIRECTORY constant to access the sync directory. Return value string The configuration directory path. Throws \Exception File core/includes/bootstrap.inc, line 147 Functions that need to be loaded on every Drupal request. Code

SelectInterface::havingIsNotNull

public SelectInterface::havingIsNotNull($field) Sets a condition in the HAVING clause that the specified field be NOT NULL. Parameters $field: The name of the field to check. Return value $this File core/lib/Drupal/Core/Database/Query/SelectInterface.php, line 605 Class SelectInterface Interface definition for a Select Query object. Namespace Drupal\Core\Database\Query Code public function havingIsNotNull($field);

Condition::notExists

public Condition::notExists(SelectInterface $select) Sets a condition that the specified subquery returns no values. Parameters \Drupal\Core\Database\Query\SelectInterface $select: The subquery that must not contain results. Return value \Drupal\Core\Database\Query\ConditionInterface The called object. Overrides ConditionInterface::notExists File core/lib/Drupal/Core/Database/Query/Condition.php, line 123 Class Condition Generic class for a series of conditions in a query. Namespace D

ViewExecutable::_postExecute

protected ViewExecutable::_postExecute() Runs the postExecute() on all active handlers. File core/modules/views/src/ViewExecutable.php, line 1010 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code protected function _postExecute() { foreach ($this::getHandlerTypes() as $key => $info) { $handlers = &$this->$key; foreach ($handlers as $id => $handler) { $handlers[$id]->postExecute($this->result); } } }

BlockContentTypeForm

Base form for category edit forms. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\Core\Entity\BundleEntityFormBaseclass \Drupal\block_content\BlockContentTypeForm File core/modules/block_content/src/BlockContentTypeForm.

ContentTranslationManager::getTranslationHandler

ContentTranslationManager::getTranslationHandler($entity_type_id) Returns an instance of the Content translation handler. Parameters string $entity_type_id: The type of the entity being translated. Return value \Drupal\content_translation\ContentTranslationHandlerInterface An instance of the content translation handler. Overrides ContentTranslationManagerInterface::getTranslationHandler File core/modules/content_translation/src/ContentTranslationManager.php, line 43 Class ContentTranslati

system_sort_modules_by_info_name

system_sort_modules_by_info_name($a, $b) Array sorting callback; sorts modules by their name. File core/modules/system/system.module, line 1130 Configuration system that lets administrators modify the workings of the site. Code function system_sort_modules_by_info_name($a, $b) { return strcasecmp($a->info['name'], $b->info['name']); }

DbDumpCommand::generateScript

protected DbDumpCommand::generateScript(Connection $connection, array $schema_only = []) Generates the database script. Parameters \Drupal\Core\Database\Connection $connection: The database connection to use. array $schema_only: Table patterns for which to only dump the schema, no data. Return value string The PHP script. The PHP script. File core/lib/Drupal/Core/Command/DbDumpCommand.php, line 75 Class DbDumpCommand Provides a command to dump the current database to a script. Namespac

BlockListController::create

public static BlockListController::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The serv

DateTimePlus::$dateParts

An array of possible date parts. File core/lib/Drupal/Component/Datetime/DateTimePlus.php, line 44 Class DateTimePlus Wraps DateTime(). Namespace Drupal\Component\Datetime Code protected static $dateParts = array( 'year', 'month', 'day', 'hour', 'minute', 'second', );