Whether the display is actually using AJAX or not.
Return value
bool
File
- drupal/core/modules/views/lib/Drupal/views/Plugin/views/display/DisplayPluginBase.php, line 250
- Contains Drupal\views\Plugin\views\display\DisplayPluginBase.
Class
- DisplayPluginBase
- The default display plugin handler. Display plugins handle options and
basic mechanisms for different output methods.
Namespace
Drupal\views\Plugin\views\display
Code
public function ajaxEnabled() {
if ($this
->usesAJAX()) {
return $this
->getOption('use_ajax');
}
return FALSE;
}