public function WebformCardsManagerInterface::applyConditions in Webform 8.5
Same name and namespace in other branches
- 6.x modules/webform_cards/src/WebformCardsManagerInterface.php \Drupal\webform_cards\WebformCardsManagerInterface::applyConditions()
Update cards pages based on conditional logic (#states).
Parameters
array $pages: An associative array of webform cards.
\Drupal\webform\WebformSubmissionInterface|null $webform_submission: A webform submission.
Return value
array An associative array of webform cards with conditional logic applied.
See also
\Drupal\webform\Entity\Webform::getPages
1 method overrides WebformCardsManagerInterface::applyConditions()
- WebformCardsManager::applyConditions in modules/
webform_cards/ src/ WebformCardsManager.php - Update cards pages based on conditional logic (#states).
File
- modules/
webform_cards/ src/ WebformCardsManagerInterface.php, line 64
Class
- WebformCardsManagerInterface
- Interface for webform cards manager.
Namespace
Drupal\webform_cardsCode
public function applyConditions(array $pages, WebformSubmissionInterface $webform_submission = NULL);