Cron::$queueManager

The queue plugin manager. Type: \Drupal\Core\Queue\QueueWorkerManagerInterface File core/lib/Drupal/Core/Cron.php, line 69 Class Cron The Drupal core Cron service. Namespace Drupal\Core Code protected $queueManager;

CommentStorageInterface::getNewCommentPageNumber

public CommentStorageInterface::getNewCommentPageNumber($total_comments, $new_comments, FieldableEntityInterface $entity, $field_name) Calculates the page number for the first new comment. Parameters int $total_comments: The total number of comments that the entity has. int $new_comments: The number of new comments that the entity has. \Drupal\Core\Entity\FieldableEntityInterface $entity: The entity to which the comments belong. string $field_name: The field name on the entity to which comment

UserMultipleCancelConfirm::getCancelUrl

public UserMultipleCancelConfirm::getCancelUrl() Returns the route to go to if the user cancels the action. Return value \Drupal\Core\Url A URL object. Overrides ConfirmFormInterface::getCancelUrl File core/modules/user/src/Form/UserMultipleCancelConfirm.php, line 83 Class UserMultipleCancelConfirm Provides a confirmation form for cancelling multiple user accounts. Namespace Drupal\user\Form Code public function getCancelUrl() { return new Url('entity.user.collection'); }

install_verify_database_settings

install_verify_database_settings($site_path) Verifies that settings.php specifies a valid database connection. Parameters string $site_path: The site path. Return value bool TRUE if there are no database errors. File core/includes/install.core.inc, line 1097 API functions for installing Drupal. Code function install_verify_database_settings($site_path) { if ($database = Database::getConnectionInfo()) { $database = $database['default']; $settings_file = './' . $site_path . '/settin

StatementEmpty::current

public StatementEmpty::current() File core/lib/Drupal/Core/Database/StatementEmpty.php, line 116 Class StatementEmpty Empty implementation of a database statement. Namespace Drupal\Core\Database Code public function current() { return NULL; }

ContentEntityBase::$translatableEntityKeys

Holds translatable entity keys such as the label. Type: array File core/lib/Drupal/Core/Entity/ContentEntityBase.php, line 149 Class ContentEntityBase Implements Entity Field API specific enhancements to the Entity class. Namespace Drupal\Core\Entity Code protected $translatableEntityKeys = array();

LanguageNegotiatorInterface::initializeType

public LanguageNegotiatorInterface::initializeType($type) Initializes the specified language type. Parameters string $type: The language type to be initialized. Return value \Drupal\Core\Language\LanguageInterface[] Returns an array containing a single language keyed by the language negotiation method ID used to determine the language of the specified type. If negotiation is not possible the default language is returned. File core/modules/language/src/LanguageNegotiatorInterface.php, line 131

ReorderDisplays::getFormId

public ReorderDisplays::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/views_ui/src/Form/Ajax/ReorderDisplays.php, line 24 Class ReorderDisplays Displays the display reorder form. Namespace Drupal\views_ui\Form\Ajax Code public function getFormId() { return 'views_ui_reorder_displays_form'; }

UserPasswordForm::submitForm

public UserPasswordForm::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormInterface::submitForm File core/modules/user/src/Form/UserPasswordForm.php, line 135 Class UserPasswordForm Provides a user password reset form. Namespace Drupal\user\Form Code public function submitF

QueueInterface::createItem

public QueueInterface::createItem($data) Adds a queue item and store it directly to the queue. Parameters $data: Arbitrary data to be associated with the new task in the queue. Return value A unique ID if the item was successfully created and was (best effort) added to the queue, otherwise FALSE. We don't guarantee the item was committed to disk etc, but as far as we know, the item is now in the queue. File core/lib/Drupal/Core/Queue/QueueInterface.php, line 27 Class QueueInterface Inter