You are here

public function Instances::setUpdateButton in Smart Date 8.2

Same name and namespace in other branches
  1. 3.x modules/smart_date_recur/src/Controller/Instances.php \Drupal\smart_date_recur\Controller\Instances::setUpdateButton()

Setting the update button setting on the controller.

Parameters

bool $update_button: The value of the button.

3 calls to Instances::setUpdateButton()
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 580

Class

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

Namespace

Drupal\smart_date_recur\Controller

Code

public function setUpdateButton(bool $update_button) {
  $this->updateButton = $update_button;
}