You are here

public function WebformCardsManagerInterface::buildPages in Webform 8.5

Same name and namespace in other branches
  1. 6.x 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_cards

Code

public function buildPages(WebformInterface $webform, $operation = 'default');