public function WebformContentCreatorManageFieldsForm::exist in Webform Content Creator 3.x
Same name and namespace in other branches
- 8 src/Form/WebformContentCreatorManageFieldsForm.php \Drupal\webform_content_creator\Form\WebformContentCreatorManageFieldsForm::exist()
- 2.x src/Form/WebformContentCreatorManageFieldsForm.php \Drupal\webform_content_creator\Form\WebformContentCreatorManageFieldsForm::exist()
Helper function to check whether a Webform content creator entity exists.
Parameters
mixed $id: Entity id.
Return value
bool True if entity already exists.
File
- src/
Form/ WebformContentCreatorManageFieldsForm.php, line 380
Class
- WebformContentCreatorManageFieldsForm
- Form handler for the Webform content creator manage fields form.
Namespace
Drupal\webform_content_creator\FormCode
public function exist($id) {
return WebformContentCreatorUtilities::existsWebformContentCreatorEntity($id);
}