You are here

public function Instances::setUseAjax in Smart Date 3.4.x

Same name and namespace in other branches
  1. 8.2 modules/smart_date_recur/src/Controller/Instances.php \Drupal\smart_date_recur\Controller\Instances::setUseAjax()
  2. 3.x modules/smart_date_recur/src/Controller/Instances.php \Drupal\smart_date_recur\Controller\Instances::setUseAjax()
  3. 3.0.x modules/smart_date_recur/src/Controller/Instances.php \Drupal\smart_date_recur\Controller\Instances::setUseAjax()
  4. 3.1.x modules/smart_date_recur/src/Controller/Instances.php \Drupal\smart_date_recur\Controller\Instances::setUseAjax()
  5. 3.2.x modules/smart_date_recur/src/Controller/Instances.php \Drupal\smart_date_recur\Controller\Instances::setUseAjax()
  6. 3.3.x modules/smart_date_recur/src/Controller/Instances.php \Drupal\smart_date_recur\Controller\Instances::setUseAjax()

Setting the use ajax setting on the controller.

Parameters

bool $use_ajax: Whether or not to use AJAX.

3 calls to Instances::setUseAjax()
Instances::listInstances in modules/smart_date_recur/src/Controller/Instances.php
Preparing output of instance listing either modal/Ajax or default.
Instances::removeAjax in modules/smart_date_recur/src/Controller/Instances.php
Preparing the form for removing a rule instance via Ajax.
Instances::revertAjax in modules/smart_date_recur/src/Controller/Instances.php
Reverting a rule instance in an Ajax confirm dialog.

File

modules/smart_date_recur/src/Controller/Instances.php, line 545

Class

Instances
Provides listings of instances (with overrides) for a specified rule.

Namespace

Drupal\smart_date_recur\Controller

Code

public function setUseAjax(bool $use_ajax) {
  $this->useAjax = $use_ajax;
}