public function Instances::setSmartDateRule in Smart Date 3.1.x
Same name and namespace in other branches
- 8.2 modules/smart_date_recur/src/Controller/Instances.php \Drupal\smart_date_recur\Controller\Instances::setSmartDateRule()
- 3.x modules/smart_date_recur/src/Controller/Instances.php \Drupal\smart_date_recur\Controller\Instances::setSmartDateRule()
- 3.0.x modules/smart_date_recur/src/Controller/Instances.php \Drupal\smart_date_recur\Controller\Instances::setSmartDateRule()
- 3.2.x modules/smart_date_recur/src/Controller/Instances.php \Drupal\smart_date_recur\Controller\Instances::setSmartDateRule()
- 3.3.x modules/smart_date_recur/src/Controller/Instances.php \Drupal\smart_date_recur\Controller\Instances::setSmartDateRule()
- 3.4.x modules/smart_date_recur/src/Controller/Instances.php \Drupal\smart_date_recur\Controller\Instances::setSmartDateRule()
Setting the SmartDateRule on the controller.
Parameters
\Drupal\smart_date_recur\Entity\SmartDateRule $rrule: The rule object.
3 calls to Instances::setSmartDateRule()
- 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 535
Class
- Instances
- Provides listings of instances (with overrides) for a specified rule.
Namespace
Drupal\smart_date_recur\ControllerCode
public function setSmartDateRule(SmartDateRule $rrule) {
$this->rrule = $rrule;
}