basic_auth.module

Provides an HTTP Basic authentication provider. File core/modules/basic_auth/basic_auth.module Functions Name Description basic_auth_help Implements hook_help().

BasicSettingsForm::submitForm

public BasicSettingsForm::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 ConfigFormBase::submitForm File core/modules/views_ui/src/Form/BasicSettingsForm.php, line 172 Class BasicSettingsForm Form builder for the admin display defaults page. Namespace Drupal\views_ui\Form Cod

BasicSettingsForm::getFormId

public BasicSettingsForm::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/BasicSettingsForm.php, line 50 Class BasicSettingsForm Form builder for the admin display defaults page. Namespace Drupal\views_ui\Form Code public function getFormId() { return 'views_ui_admin_settings_basic'; }

BasicSettingsForm::getEditableConfigNames

protected BasicSettingsForm::getEditableConfigNames() Gets the configuration names that will be editable. Return value array An array of configuration object names that are editable if called in conjunction with the trait's config() method. Overrides ConfigFormBaseTrait::getEditableConfigNames File core/modules/views_ui/src/Form/BasicSettingsForm.php, line 57 Class BasicSettingsForm Form builder for the admin display defaults page. Namespace Drupal\views_ui\Form Code protected functio

BasicSettingsForm::buildForm

public BasicSettingsForm::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 ConfigFormBase::buildForm File core/modules/views_ui/src/Form/BasicSettingsForm.php, line 64 Class BasicSettingsForm Form builder for the admin display defaults page. Namespace

BasicSettingsForm

Form builder for the admin display defaults 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\BasicSettingsForm File core/modules/views_ui/src/Form/BasicSettingsForm.php, line 14 Namespace Drupal\views_ui

BasicSettingsForm::$themeHandler

The theme handler. Type: \Drupal\Core\Extension\ThemeHandlerInterface File core/modules/views_ui/src/Form/BasicSettingsForm.php, line 21 Class BasicSettingsForm Form builder for the admin display defaults page. Namespace Drupal\views_ui\Form Code protected $themeHandler;

BasicSettingsForm::create

public static BasicSettingsForm::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 servic

BasicAuth::authenticate

public BasicAuth::authenticate(Request $request) Authenticates the user. Parameters \Symfony\Component\HttpFoundation\Request|null $request: The request object. Return value \Drupal\Core\Session\AccountInterface|null AccountInterface - in case of a successful authentication. NULL - in case where authentication failed. Overrides AuthenticationProviderInterface::authenticate File core/modules/basic_auth/src/Authentication/Provider/BasicAuth.php, line 79 Class BasicAuth HTTP Basic authentic

BasicAuth::challengeException

public BasicAuth::challengeException(Request $request, \Exception $previous) Constructs an exception which is used to generate the challenge. Parameters \Symfony\Component\HttpFoundation\Request $request: The request. \Exception $previous: The previous exception. Return value \Symfony\Component\HttpKernel\Exception\HttpExceptionInterface|null An exception to be used in order to generate an authentication challenge. Overrides AuthenticationProviderChallengeInterface::challengeException File co