update_is_missing

update_is_missing($module, $number, $update_functions) Determines if a module update is missing or unavailable. Parameters $module: The name of the module. $number: The number of the update within that module. $update_functions: An organized array of update functions, in the format returned by update_get_update_function_list(). This should represent all module updates that are requested to run at the time this function is called. Return value TRUE if the provided module update is not installe

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

Connection::insert

public Connection::insert($table, array $options = array()) Prepares and returns an INSERT query object. Parameters string $table: The table to use for the insert statement. array $options: (optional) An array of options on the query. Return value \Drupal\Core\Database\Query\Insert A new Insert query object. See also \Drupal\Core\Database\Query\Insert File core/lib/Drupal/Core/Database/Connection.php, line 803 Class Connection Base Database API class. Namespace Drupal\Core\Database

ImageEffectBase::defaultConfiguration

public ImageEffectBase::defaultConfiguration() Gets default configuration for this plugin. Return value array An associative array with the default configuration. Overrides ConfigurablePluginInterface::defaultConfiguration File core/modules/image/src/ImageEffectBase.php, line 157 Class ImageEffectBase Provides a base class for image effects. Namespace Drupal\image Code public function defaultConfiguration() { return array(); }

TypedDataInterface::setContext

public TypedDataInterface::setContext($name = NULL, TraversableTypedDataInterface $parent = NULL) Sets the context of a property or item via a context aware parent. This method is supposed to be called by the factory only. Parameters string|null $name: (optional) The name of the property or the delta of the list item, or NULL if it is the root of a typed data tree. Defaults to NULL. \Drupal\Core\TypedData\TraversableTypedDataInterface|null $parent: (optional) The parent object of the data prop

FileTranslation::getTranslationFilesPattern

protected FileTranslation::getTranslationFilesPattern($langcode = NULL) Provides translation file name pattern. Parameters string $langcode: (optional) The language code corresponding to the language for which we want to find translation files. Return value string String file pattern. File core/lib/Drupal/Core/StringTranslation/Translator/FileTranslation.php, line 87 Class FileTranslation File based string translation. Namespace Drupal\Core\StringTranslation\Translator Code protected

hook_field_widget_third_party_settings_form

hook_field_widget_third_party_settings_form(\Drupal\Core\Field\WidgetInterface $plugin, \Drupal\Core\Field\FieldDefinitionInterface $field_definition, $form_mode, $form, \Drupal\Core\Form\FormStateInterface $form_state) Allow modules to add settings to field widgets provided by other modules. Parameters \Drupal\Core\Field\WidgetInterface $plugin: The instantiated field widget plugin. \Drupal\Core\Field\FieldDefinitionInterface $field_definition: The field definition. $form_mode: The entity for

BreakpointInterface::getLabel

public BreakpointInterface::getLabel() Returns the translated label. Return value string The translated label. File core/modules/breakpoint/src/BreakpointInterface.php, line 16 Class BreakpointInterface Interface for Breakpoint plugins. Namespace Drupal\breakpoint Code public function getLabel();

hook_node_links_alter

hook_node_links_alter(array &$links, NodeInterface $entity, array &$context) Alter the links of a node. Parameters array &$links: A renderable array representing the node links. \Drupal\node\NodeInterface $entity: The node being rendered. array &$context: Various aspects of the context in which the node links are going to be displayed, with the following keys: 'view_mode': the view mode in which the node is being viewed 'langcode': the language in which the node is being view

DRUPAL_USER_TIMEZONE_DEFAULT

New users will be set to the default time zone at registration. File core/modules/system/system.module, line 34 Configuration system that lets administrators modify the workings of the site. Code const DRUPAL_USER_TIMEZONE_DEFAULT = 0;