ActionFormBase::save

public ActionFormBase::save(array $form, FormStateInterface $form_state) Form submission handler for the 'save' action. Normally this method should be overridden to provide specific messages to the user and redirect the form after the entity has been saved. 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 int Either SAVED_NEW or SAVED_UPDATED, depending on the operat

update-project-status.html.twig

Default theme implementation for the project status report. Available variables: title: The project title. url: The project url. status: The project status. label: The project status label. attributes: HTML attributes for the project status. reason: The reason you should update the project. icon: The project status version indicator icon. existing_version: The version of the installed project. versions: The available versions of the project. install_type: The type of project (e.g., d

theme_settings_convert_to_config

theme_settings_convert_to_config(array $theme_settings, Config $config) Converts theme settings to configuration. Parameters array $theme_settings: An array of theme settings from system setting form or a Drupal 7 variable. Config $config: The configuration object to update. Return value The Config object with updated data. See also system_theme_settings_submit() File core/includes/theme.inc, line 471 The theme system, which controls the output of Drupal. Code function theme_settings_conve

ViewUI::toArray

public ViewUI::toArray() Gets an array of all property values. Return value mixed[] An array of property values, keyed by property name. Overrides EntityInterface::toArray File core/modules/views_ui/src/ViewUI.php, line 1034 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function toArray() { return $this->storage->toArray(); }

Url::fromRoute

public static Url::fromRoute($route_name, $route_parameters = array(), $options = array()) Creates a new Url object for a URL that has a Drupal route. This method is for URLs that have Drupal routes (that is, most pages generated by Drupal). For non-routed local URIs relative to the base path (like robots.txt) use Url::fromUri() with the base: scheme. Parameters string $route_name: The name of the route array $route_parameters: (optional) An associative array of route parameter names and value

UserAuth::$passwordChecker

The password hashing service. Type: \Drupal\Core\Password\PasswordInterface File core/modules/user/src/UserAuth.php, line 25 Class UserAuth Validates user authentication credentials. Namespace Drupal\user Code protected $passwordChecker;

ViewUI::getOverrideValues

public ViewUI::getOverrideValues($form, FormStateInterface $form_state) Return the was_defaulted, is_defaulted and revert state of a form. File core/modules/views_ui/src/ViewUI.php, line 349 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function getOverrideValues($form, FormStateInterface $form_state) { // Make sure the dropdown exists in the first place. if ($form_state->hasValue(array('override', 'dropdown'))) { // #default_value

OpenModalDialogCommand

Defines an AJAX command to open certain content in a dialog in a modal dialog. Hierarchy class \Drupal\Core\Ajax\OpenDialogCommand implements CommandInterface, CommandWithAttachedAssetsInterface uses CommandWithAttachedAssetsTraitclass \Drupal\Core\Ajax\OpenModalDialogCommand Related topics Ajax API Overview for Drupal's Ajax API. File core/lib/Drupal/Core/Ajax/OpenModalDialogCommand.php, line 10 Namespace Drupal\Core\Ajax Members Name Modifiers Type Description CommandWith

ArgumentsResolver::$objects

An associative array of parameter names to object candidate values. Type: array File core/lib/Drupal/Component/Utility/ArgumentsResolver.php, line 22 Class ArgumentsResolver Resolves the arguments to pass to a callable. Namespace Drupal\Component\Utility Code protected $objects;

DbLogController::overview

public DbLogController::overview() Displays a listing of database log messages. Messages are truncated at 56 chars. Full-length messages can be viewed on the message details page. Return value array A render array as expected by drupal_render(). See also dblog_clear_log_form() dblog_event() File core/modules/dblog/src/Controller/DbLogController.php, line 121 Class DbLogController Returns responses for dblog routes. Namespace Drupal\dblog\Controller Code public function overview() {