Select

MySQL implementation of \Drupal\Core\Database\Query\Select. Hierarchy class \Drupal\Core\Database\Query\Query implements PlaceholderInterfaceclass \Drupal\Core\Database\Query\Select implements SelectInterface uses QueryConditionTraitclass \Drupal\Core\Database\Driver\mysql\Select File core/lib/Drupal/Core/Database/Driver/mysql/Select.php, line 10 Namespace Drupal\Core\Database\Driver\mysql Members Name Modifiers Type Description Query::$comments protected property An a

PhpBackend::set

public PhpBackend::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 data

HelpController::helpMain

public HelpController::helpMain() Prints a page listing various types of help. The page has sections defined by \Drupal\help\HelpSectionPluginInterface plugins. Return value array A render array for the help page. File core/modules/help/src/Controller/HelpController.php, line 63 Class HelpController Controller routines for help routes. Namespace Drupal\help\Controller Code public function helpMain() { $output = []; // We are checking permissions, so add the user.permissions cache

CommentLinkBuilder::$commentManager

Comment manager service. Type: \Drupal\comment\CommentManagerInterface File core/modules/comment/src/CommentLinkBuilder.php, line 36 Class CommentLinkBuilder Defines a class for building markup for comment links on a commented entity. Namespace Drupal\comment Code protected $commentManager;

ViewExecutable::$filter

Stores the filter handlers which are initialized on this view. Type: \Drupal\views\Plugin\views\filter\FilterPluginBase[] File core/modules/views/src/ViewExecutable.php, line 283 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public $filter;

Cache::validateTags

public static Cache::validateTags(array $tags) Validates an array of cache tags. Can be called before using cache tags in operations, to ensure validity. Parameters string[] $tags: An array of cache tags. Throws \LogicException Deprecated Use assert('\Drupal\Component\Assertion\Inspector::assertAllStrings($tags)'); File core/lib/Drupal/Core/Cache/Cache.php, line 103 Class Cache Helper methods for cache. Namespace Drupal\Core\Cache Code public static function validateTags(array $ta

file_copy

file_copy(FileInterface $source, $destination = NULL, $replace = FILE_EXISTS_RENAME) Copies a file to a new location and adds a file record to the database. This function should be used when manipulating files that have records stored in the database. This is a powerful function that in many ways performs like an advanced version of copy(). Checks if $source and $destination are valid and readable/writable. If file already exists in $destination either the call will error out, replace the file

RegionalForm::buildForm

public RegionalForm::buildForm(array $form, FormStateInterface $form_state) Form constructor. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array The form structure. Overrides ConfigFormBase::buildForm File core/modules/system/src/Form/RegionalForm.php, line 63 Class RegionalForm Configure regional settings for this site. Namespace Drupal\system\Form Code

BookExport::$viewBuilder

The node view builder. Type: \Drupal\Core\Entity\EntityViewBuilderInterface File core/modules/book/src/BookExport.php, line 27 Class BookExport Provides methods for exporting book to different formats. Namespace Drupal\book Code protected $viewBuilder;

SearchPageRepository::__construct

public SearchPageRepository::__construct(ConfigFactoryInterface $config_factory, EntityManagerInterface $entity_manager) Constructs a new SearchPageRepository. Parameters \Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory. \Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager. File core/modules/search/src/SearchPageRepository.php, line 35 Class SearchPageRepository Provides a repository for Search Page config entities. Namespace Drup