Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. DisplayPluginBase.php

function DisplayPluginBase::ajaxEnabled

Overrides DisplayPluginInterface::ajaxEnabled

1 call to DisplayPluginBase::ajaxEnabled()
DisplayPluginBase::preExecute in core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
Sets up any variables on the view prior to execution.

File

core/modules/views/src/Plugin/views/display/DisplayPluginBase.php, line 292

Class

DisplayPluginBase
Base class for views display plugins.

Namespace

Drupal\views\Plugin\views\display

Code

public function ajaxEnabled() {
    if ($this->usesAJAX()) {
        return $this->getOption('use_ajax');
    }
    return FALSE;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal