_views_query_tag_alter_condition

_views_query_tag_alter_condition(AlterableInterface $query, &$conditions, $substitutions) Replaces the substitutions recursive foreach condition. File core/modules/views/views.module, line 676 Primarily Drupal hooks and global API functions to manipulate views. Code function _views_query_tag_alter_condition(AlterableInterface $query, &$conditions, $substitutions) { foreach ($conditions as $condition_id => &$condition) { if (is_numeric($condition_id)) { if (is_string

_views_file_status

_views_file_status($choice = NULL) Formats human-readable version of file status. Parameters int|null $choice: (optional) An integer status code. If not set, all statuses are returned. Defaults to NULL. Return value \Drupal\Core\StringTranslation\TranslatableMarkup|\Drupal\Core\StringTranslation\TranslatableMarkup[] An array of file statuses or a specified status if $choice is set. File core/modules/file/file.module, line 1551 Defines a "managed_file" Form API field and a "file" field for Fie

_user_role_permissions_update

_user_role_permissions_update($roles) Determine the permissions for one or more roles during update. A separate version is needed because during update the entity system can't be used and in non-update situations the entity system is preferred because of the hook system. Parameters array $roles: An array of role IDs. Return value array An array indexed by role ID. Each value is an array of permission strings for the given role. File core/modules/user/user.module, line 345 Enables the user reg

_user_mail_notify

_user_mail_notify($op, $account, $langcode = NULL) Conditionally create and send a notification email when a certain operation happens on the given user account. Parameters string $op: The operation being performed on the account. Possible values: 'register_admin_created': Welcome message for user created by the admin. 'register_no_approval_required': Welcome message when user self-registers. 'register_pending_approval': Welcome message, user pending admin approval. 'password_reset': Passw

_user_cancel_session_regenerate

_user_cancel_session_regenerate() Implements callback_batch_finished(). Finished batch processing callback for cancelling a user account. See also user_cancel() File core/modules/user/user.module, line 776 Enables the user registration and login system. Code function _user_cancel_session_regenerate() { // Regenerate the users session instead of calling session_destroy() as we // want to preserve any messages that might have been set. \Drupal::service('session')->migrate(); }

_views_field_get_entity_type_storage

_views_field_get_entity_type_storage(FieldStorageConfigInterface $field_storage) Determines whether the entity type the field appears in is SQL based. Parameters \Drupal\field\FieldStorageConfigInterface $field_storage: The field storage definition. Return value \Drupal\Core\Entity\Sql\SqlContentEntityStorage Returns the entity type storage if supported. File core/modules/views/views.views.inc, line 232 Provide views data that isn't tied to any other module. Code function _views_field_get_e

_update_manager_unique_identifier

_update_manager_unique_identifier() Returns a short unique identifier for this Drupal installation. Return value An eight character string uniquely identifying this Drupal installation. File core/modules/update/update.module, line 652 Handles updates of Drupal core and contributed projects. Code function _update_manager_unique_identifier() { $id = &drupal_static(__FUNCTION__, ''); if (empty($id)) { $id = substr(hash('sha256', Settings::getHashSalt()), 0, 8); } return $id; }

_update_no_data

_update_no_data() Returns a warning message when there is no data about available updates. File core/modules/update/update.module, line 286 Handles updates of Drupal core and contributed projects. Code function _update_no_data() { $destination = \Drupal::destination()->getAsArray(); return t('No update information available. <a href=":run_cron">Run cron</a> or <a href=":check_manually">check manually</a>.', array( ':run_cron' => \Drupal::url('system.run_c

_user_cancel

_user_cancel($edit, $account, $method) Implements callback_batch_operation(). Last step for cancelling a user account. Since batch and session API require a valid user account, the actual cancellation of a user account needs to happen last. Parameters array $edit: An array of submitted form values. \Drupal\user\UserInterface $account: The user ID of the user account to cancel. string $method: The account cancellation method to use. See also user_cancel() File core/modules/user/user.module, li

_update_message_text

_update_message_text($msg_type, $msg_reason, $langcode = NULL) Returns the appropriate message text when site is out of date or not secure. These error messages are shared by both update_requirements() for the site-wide status report at admin/reports/status and in the body of the notification email messages generated by update_cron(). Parameters $msg_type: String to indicate what kind of message to generate. Can be either 'core' or 'contrib'. $msg_reason: Integer constant specifying why messag