public static function WebformContentCreatorUtilities::getAllWebformIds in Webform Content Creator 3.x
Same name and namespace in other branches
- 8 src/WebformContentCreatorUtilities.php \Drupal\webform_content_creator\WebformContentCreatorUtilities::getAllWebformIds()
- 2.x src/WebformContentCreatorUtilities.php \Drupal\webform_content_creator\WebformContentCreatorUtilities::getAllWebformIds()
Get all webform ids.
Return value
array Array with all webform ids.
1 call to WebformContentCreatorUtilities::getAllWebformIds()
- WebformContentCreatorUtilities::getAllWebforms in src/
WebformContentCreatorUtilities.php - Get all webform entities.
File
- src/
WebformContentCreatorUtilities.php, line 268
Class
- WebformContentCreatorUtilities
- Provides useful functions required in Webform content creator module.
Namespace
Drupal\webform_content_creatorCode
public static function getAllWebformIds() {
$ids = \Drupal::entityTypeManager()
->getStorage(self::WEBFORM)
->getQuery()
->condition('template', FALSE)
->execute();
return $ids;
}