public function WebformContentCreatorInterface::equalsContentType in Webform Content Creator 3.x
Same name and namespace in other branches
- 8 src/WebformContentCreatorInterface.php \Drupal\webform_content_creator\WebformContentCreatorInterface::equalsContentType()
Check if the content type id is equal to the configured content type.
Parameters
string $ct: Content type id.
Return value
bool True, if the parameter is equal to the content type id of Webform content creator entity. Otherwise, returns false.
1 method overrides WebformContentCreatorInterface::equalsContentType()
- WebformContentCreatorEntity::equalsContentType in src/
Entity/ WebformContentCreatorEntity.php - Check if the content type id is equal to the configured content type.
File
- src/
WebformContentCreatorInterface.php, line 163
Class
- WebformContentCreatorInterface
- Provides an interface defining an Webform content creator entity.
Namespace
Drupal\webform_content_creatorCode
public function equalsContentType($ct);