public function WebformCardsManagerInterface::getNumberOfCards in Webform 8.5
Same name and namespace in other branches
- 6.x modules/webform_cards/src/WebformCardsManagerInterface.php \Drupal\webform_cards\WebformCardsManagerInterface::getNumberOfCards()
Counts the number of cards used in a webform.
Parameters
\Drupal\webform\WebformInterface $webform: A webform.
Return value
int The number of cards for the webform.
1 method overrides WebformCardsManagerInterface::getNumberOfCards()
- WebformCardsManager::getNumberOfCards in modules/
webform_cards/ src/ WebformCardsManager.php - Counts the number of cards used in a webform.
File
- modules/
webform_cards/ src/ WebformCardsManagerInterface.php, line 33
Class
- WebformCardsManagerInterface
- Interface for webform cards manager.
Namespace
Drupal\webform_cardsCode
public function getNumberOfCards(WebformInterface $webform);