public function WebformContentCreatorInterface::equalsBundle in Webform Content Creator 2.x
Check if the target bundle id is equal to the configured bundle.
Parameters
string $bundle: Target bundle id.
Return value
bool True, if the parameter is equal to the target bundle id of Webform content creator entity. Otherwise, returns false.
1 method overrides WebformContentCreatorInterface::equalsBundle()
- WebformContentCreatorEntity::equalsBundle in src/
Entity/ WebformContentCreatorEntity.php - Check if the target bundle id is equal to the configured bundle.
File
- src/
WebformContentCreatorInterface.php, line 200
Class
- WebformContentCreatorInterface
- Provides an interface defining an Webform content creator entity.
Namespace
Drupal\webform_content_creatorCode
public function equalsBundle($bundle);