public static function WebformContentCreatorUtilities::getBundleIds in Webform Content Creator 2.x
Get bundle fields, except the basic fields.
Parameters
string $entity_type_id: Entity type id.
mixed $bundle_id: Bundle id.
Return value
array Associative array bundle fields
1 call to WebformContentCreatorUtilities::getBundleIds()
- WebformContentCreatorManageFieldsForm::constructTable in src/
Form/ WebformContentCreatorManageFieldsForm.php - Constructs table with mapping between webform and bundle.
File
- src/
WebformContentCreatorUtilities.php, line 221
Class
- WebformContentCreatorUtilities
- Provides useful functions required in Webform content creator module.
Namespace
Drupal\webform_content_creatorCode
public static function getBundleIds($entity_type_id, $bundle_id) {
$bundleFields = self::bundleFields($entity_type_id, $bundle_id);
return array_keys($bundleFields);
}