ViewAjaxController::$currentPath

The current path. Type: \Drupal\Core\Path\CurrentPathStack File core/modules/views/src/Controller/ViewAjaxController.php, line 56 Class ViewAjaxController Defines a controller to load a view via AJAX. Namespace Drupal\views\Controller Code protected $currentPath;

ViewAddForm::__construct

public ViewAddForm::__construct(ViewsPluginManager $wizard_manager) Constructs a new ViewEditForm object. Parameters \Drupal\views\Plugin\ViewsPluginManager $wizard_manager: The wizard plugin manager. File core/modules/views_ui/src/ViewAddForm.php, line 29 Class ViewAddForm Form controller for the Views edit form. Namespace Drupal\views_ui Code public function __construct(ViewsPluginManager $wizard_manager) { $this->wizardManager = $wizard_manager; }

ViewAddForm::prepareEntity

protected ViewAddForm::prepareEntity() Prepares the entity object before the form is built first. Overrides ViewFormBase::prepareEntity File core/modules/views_ui/src/ViewAddForm.php, line 45 Class ViewAddForm Form controller for the Views edit form. Namespace Drupal\views_ui Code protected function prepareEntity() { // Do not prepare the entity while it is being added. }

ViewAddForm::form

public ViewAddForm::form(array $form, FormStateInterface $form_state) Gets the actual form array to be built. Overrides EntityForm::form See also \Drupal\Core\Entity\EntityForm::processForm() \Drupal\Core\Entity\EntityForm::afterBuild() File core/modules/views_ui/src/ViewAddForm.php, line 52 Class ViewAddForm Form controller for the Views edit form. Namespace Drupal\views_ui Code public function form(array $form, FormStateInterface $form_state) { $form['#attached']['library'][] = 'v

ViewAddForm::create

public static ViewAddForm::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 cont

ViewAddForm::cancel

public ViewAddForm::cancel(array $form, FormStateInterface $form_state) Form submission handler for the 'cancel' action. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. File core/modules/views_ui/src/ViewAddForm.php, line 202 Class ViewAddForm Form controller for the Views edit form. Namespace Drupal\views_ui Code public function cancel(array $form, FormStateInterface $f

ViewAddForm

Form controller for the Views edit form. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\views_ui\ViewFormBaseclass \Drupal\views_ui\ViewAddForm File core/modules/views_ui/src/ViewAddForm.php, line 14 Namespace Drupal

ViewAddForm::actions

protected ViewAddForm::actions(array $form, FormStateInterface $form_state) Returns an array of supported actions for the current entity form. @todo Consider introducing a 'preview' action here, since it is used by many entity types. Overrides EntityForm::actions File core/modules/views_ui/src/ViewAddForm.php, line 143 Class ViewAddForm Form controller for the Views edit form. Namespace Drupal\views_ui Code protected function actions(array $form, FormStateInterface $form_state) { $ac

ViewAddForm::$wizardManager

The wizard plugin manager. Type: \Drupal\views\Plugin\ViewsPluginManager File core/modules/views_ui/src/ViewAddForm.php, line 21 Class ViewAddForm Form controller for the Views edit form. Namespace Drupal\views_ui Code protected $wizardManager;

ViewAccessControlHandler::checkAccess

public ViewAccessControlHandler::checkAccess(EntityInterface $entity, $operation, AccountInterface $account) Performs access checks. This method is supposed to be overwritten by extending classes that do their own custom access checking. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity for which to check access. string $operation: The entity operation. Usually one of 'view', 'view label', 'update' or 'delete'. \Drupal\Core\Session\AccountInterface $account: The user for which