SortArray::sortByTitleProperty

public static SortArray::sortByTitleProperty($a, $b) Sorts a structured array by '#title' property. Callback for uasort(). Parameters array $a: First item for comparison. The compared items should be associative arrays that optionally include a '#title' key. array $b: Second item for comparison. Return value int The comparison result for uasort(). File core/lib/Drupal/Component/Utility/SortArray.php, line 84 Class SortArray Provides generic array sorting helper methods. Namespace Drup

SiteSettingsForm::validateForm

public SiteSettingsForm::validateForm(array &$form, FormStateInterface $form_state) Form validation 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 FormBase::validateForm File core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php, line 150 Class SiteSettingsForm Provides a form to configure and rewrite settings.php. Namespace Drupal\Core\Installe

SiteSettingsForm::getDatabaseErrors

protected SiteSettingsForm::getDatabaseErrors(array $database, $settings_file) Get any database errors and links them to a form element. Parameters array $database: An array of database settings. string $settings_file: The settings file that contains the database settings. Return value array An array of form errors keyed by the element name and parents. File core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php, line 177 Class SiteSettingsForm Provides a form to configure and rewrite

SiteSettingsForm::getFormId

public SiteSettingsForm::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php, line 55 Class SiteSettingsForm Provides a form to configure and rewrite settings.php. Namespace Drupal\Core\Installer\Form Code public function getFormId() { return 'install_settings_form'; }

SiteSettingsForm::__construct

public SiteSettingsForm::__construct($site_path, RendererInterface $renderer) Constructs a new SiteSettingsForm. Parameters string $site_path: The site path. File core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php, line 37 Class SiteSettingsForm Provides a form to configure and rewrite settings.php. Namespace Drupal\Core\Installer\Form Code public function __construct($site_path, RendererInterface $renderer) { $this->sitePath = $site_path; $this->renderer = $renderer;

SiteSettingsForm::submitForm

public SiteSettingsForm::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/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php, line 212 Class SiteSettingsForm Provides a form to configure and rewrite settings.php. Namespace Drupal\Core\Install

SiteSettingsForm::buildForm

public SiteSettingsForm::buildForm(array $form, FormStateInterface $form_state) Form constructor. 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 array The form structure. Overrides FormInterface::buildForm File core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php, line 62 Class SiteSettingsForm Provides a form to configure and rewrite settings.php. Names

SiteSettingsForm::create

public static SiteSettingsForm::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The service

SiteSettingsForm

Provides a form to configure and rewrite settings.php. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Installer\Form\SiteSettingsForm File core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php, line 15 Namespace Drupal\Core\Installer\Form Members Name Modifiers Type D

SiteSettingsForm::$sitePath

The site path. Type: string File core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php, line 22 Class SiteSettingsForm Provides a form to configure and rewrite settings.php. Namespace Drupal\Core\Installer\Form Code protected $sitePath;