Statement::execute

public Statement::execute($args = array(), $options = array()) Executes a prepared statement Parameters $args: An array of values with as many elements as there are bound parameters in the SQL statement being executed. $options: An array of options for this query. Return value TRUE on success, or FALSE on failure. Overrides StatementInterface::execute File core/lib/Drupal/Core/Database/Statement.php, line 42 Class Statement Default implementation of StatementInterface. Namespace Drupa

ThemeManager::$themeInitialization

The theme initialization. Type: \Drupal\Core\Theme\ThemeInitializationInterface File core/lib/Drupal/Core/Theme/ThemeManager.php, line 43 Class ThemeManager Provides the default implementation of a theme manager. Namespace Drupal\Core\Theme Code protected $themeInitialization;

ImmutableConfigException

Exception throw when an immutable config object is altered. Hierarchy class \Drupal\Core\Config\ImmutableConfigException extends \LogicException See also \Drupal\Core\Config\ImmutableConfig File core/lib/Drupal/Core/Config/ImmutableConfigException.php, line 10 Namespace Drupal\Core\Config Members

Statement::__construct

protected Statement::__construct(Connection $dbh) File core/lib/Drupal/Core/Database/Statement.php, line 34 Class Statement Default implementation of StatementInterface. Namespace Drupal\Core\Database Code protected function __construct(Connection $dbh) { $this->dbh = $dbh; $this->setFetchMode(\PDO::FETCH_OBJ); }

PhpStreamWrapperInterface::unlink

public PhpStreamWrapperInterface::unlink($path) Return value bool File core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php, line 216 Class PhpStreamWrapperInterface Defines a generic PHP stream wrapper interface. Namespace Drupal\Core\StreamWrapper Code public function unlink($path);

WidgetBase::extractFormValues

public WidgetBase::extractFormValues(FieldItemListInterface $items, array $form, FormStateInterface $form_state) Extracts field values from submitted form values. Parameters \Drupal\Core\Field\FieldItemListInterface $items: The field values. This parameter is altered by reference to receive the incoming form values. array $form: The form structure where field elements are attached to. This might be a full form structure, or a sub-element of a larger form. \Drupal\Core\Form\FormStateInterface $

StaticTranslation::reset

public StaticTranslation::reset() Resets translation cache. Since most translation systems implement some form of caching, this provides a way to delete that cache. Overrides TranslatorInterface::reset File core/lib/Drupal/Core/StringTranslation/Translator/StaticTranslation.php, line 48 Class StaticTranslation String translator with a static cache for translations. Namespace Drupal\Core\StringTranslation\Translator Code public function reset() { $this->translations = array(); }

PlaceholderStrategyInterface::processPlaceholders

public PlaceholderStrategyInterface::processPlaceholders(array $placeholders) Processes placeholders to render them with different strategies. Parameters array $placeholders: The placeholders to process, with the keys being the markup for the placeholders and the values the corresponding render array describing the data to be rendered. Return value array The resulting placeholders, with a subset of the keys of $placeholders (and those being the markup for the placeholders) but with the corres

RefinableCacheableDependencyTrait::addCacheableDependency

public RefinableCacheableDependencyTrait::addCacheableDependency($other_object) Adds a dependency on an object: merges its cacheability metadata. Parameters \Drupal\Core\Cache\CacheableDependencyInterface|object $other_object: The dependency. If the object implements CacheableDependencyInterface, then its cacheability metadata will be used. Otherwise, the passed in object must be assumed to be uncacheable, so max-age 0 is set. Return value $this Overrides RefinableCacheableDependencyInterface

datetime_range_post_update_translatable_separator

datetime_range_post_update_translatable_separator() Clear caches to ensure schema changes are read. File core/modules/datetime_range/datetime_range.post_update.php, line 16 Post-update functions for Datetime Range module. Code function datetime_range_post_update_translatable_separator() { // Empty post-update hook to cause a cache rebuild. }