public function WebformContentCreatorEntity::equalsWebform in Webform Content Creator 8
Same name and namespace in other branches
- 3.x src/Entity/WebformContentCreatorEntity.php \Drupal\webform_content_creator\Entity\WebformContentCreatorEntity::equalsWebform()
- 2.x src/Entity/WebformContentCreatorEntity.php \Drupal\webform_content_creator\Entity\WebformContentCreatorEntity::equalsWebform()
Check if the webform id is equal to the configured webform id.
Parameters
string $webform: Webform id.
Return value
bool True, if the parameter is equal to the webform id of Webform content creator entity. Otherwise, returns false.
Overrides WebformContentCreatorInterface::equalsWebform
File
- src/
Entity/ WebformContentCreatorEntity.php, line 568
Class
- WebformContentCreatorEntity
- Defines the Webform Content creator entity.
Namespace
Drupal\webform_content_creator\EntityCode
public function equalsWebform($webform) {
return $webform === $this
->getWebform();
}