public function WebformCardsManagerInterface::buildPages in Webform 6.x
Same name and namespace in other branches
- 8.5 modules/webform_cards/src/WebformCardsManagerInterface.php \Drupal\webform_cards\WebformCardsManagerInterface::buildPages()
Build webform's cards based on the current operation.
Parameters
\Drupal\webform\WebformInterface $webform: A webform.
string $operation: The webform submission operation. Usually 'default', 'add', 'edit', 'edit_all', 'api', or 'test'.
Return value
array An associative array of webform cards.
See also
\Drupal\webform\Entity\Webform::buildPages
1 method overrides WebformCardsManagerInterface::buildPages()
- WebformCardsManager::buildPages in modules/
webform_cards/ src/ WebformCardsManager.php - Build webform's cards based on the current operation.
File
- modules/
webform_cards/ src/ WebformCardsManagerInterface.php, line 49
Class
- WebformCardsManagerInterface
- Interface for webform cards manager.
Namespace
Drupal\webform_cardsCode
public function buildPages(WebformInterface $webform, $operation = 'default');