FormValidator::determineLimitValidationErrors

protected FormValidator::determineLimitValidationErrors(FormStateInterface &$form_state) Determines if validation errors should be limited. Parameters \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array|null File core/lib/Drupal/Core/Form/FormValidator.php, line 376 Class FormValidator Provides validation of form submissions. Namespace Drupal\Core\Form Code protected function determineLimitValidationErrors(FormStateInterface &$f

SystemController::themesPage

public SystemController::themesPage() Returns a theme listing. @todo Move into ThemeController. Return value string An HTML string of the theme listing page. File core/modules/system/src/Controller/SystemController.php, line 195 Class SystemController Returns responses for System routes. Namespace Drupal\system\Controller Code public function themesPage() { $config = $this->config('system.theme'); // Get all available themes. $themes = $this->themeHandler->rebuildThemeD

ForumManager::__construct

public ForumManager::__construct(ConfigFactoryInterface $config_factory, EntityManagerInterface $entity_manager, Connection $connection, TranslationInterface $string_translation, CommentManagerInterface $comment_manager) Constructs the forum manager service. Parameters \Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory service. \Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager service. \Drupal\Core\Database\Connection $connection: The cu

Dropbutton::getInfo

public Dropbutton::getInfo() Returns the element properties for this element. Return value array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format. Overrides ElementInterface::getInfo File core/lib/Drupal/Core/Render/Element/Dropbutton.php, line 47 Class Dropbutton Provides a render element for a set of links rendered as a drop-down button. Namespace Dr

TranslationsStream

Defines a Drupal translations (translations://) stream wrapper class. Provides support for storing translation files. Hierarchy class \Drupal\Core\StreamWrapper\LocalStream implements StreamWrapperInterfaceclass \Drupal\locale\StreamWrapper\TranslationsStream File core/modules/locale/src/StreamWrapper/TranslationsStream.php, line 13 Namespace Drupal\locale\StreamWrapper Members Name Modifiers Type Description LocalStream::$context public property Stream context resource

drupal_set_message

drupal_set_message($message = NULL, $type = 'status', $repeat = FALSE) Sets a message to display to the user. Messages are stored in a session variable and displayed in the page template via the $messages theme variable. Example usage: drupal_set_message(t('An error occurred and processing did not complete.'), 'error'); Parameters string|\Drupal\Component\Render\MarkupInterface $message: (optional) The translated message to be displayed to the user. For consistency with other messages, it sho

DeleteForm::$pathAlias

The path alias being deleted. Type: array $pathAlias File core/modules/path/src/Form/DeleteForm.php, line 28 Class DeleteForm Builds the form to delete a path alias. Namespace Drupal\path\Form Code protected $pathAlias;

AdvancedSettingsForm

Form builder for the advanced admin settings page. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Form\ConfigFormBase uses ConfigFormBaseTraitclass \Drupal\views_ui\Form\AdvancedSettingsForm File core/modules/views_ui/src/Form/AdvancedSettingsForm.php, line 12 Namespace Drupal\v

CommentInterface::setHostname

public CommentInterface::setHostname($hostname) Sets the hostname of the author of the comment. Parameters string $hostname: The hostname of the author of the comment. Return value $this The class instance that this method is called on. File core/modules/comment/src/CommentInterface.php, line 173 Class CommentInterface Provides an interface defining a comment entity. Namespace Drupal\comment Code public function setHostname($hostname);

ModulesListForm::$moduleInstaller

The module installer. Type: \Drupal\Core\Extension\ModuleInstallerInterface File core/modules/system/src/Form/ModulesListForm.php, line 57 Class ModulesListForm Provides module installation interface. Namespace Drupal\system\Form Code protected $moduleInstaller;