You are here

public function WebformContentCreatorEntity::getWebform in Webform Content Creator 3.x

Same name and namespace in other branches
  1. 8 src/Entity/WebformContentCreatorEntity.php \Drupal\webform_content_creator\Entity\WebformContentCreatorEntity::getWebform()
  2. 2.x src/Entity/WebformContentCreatorEntity.php \Drupal\webform_content_creator\Entity\WebformContentCreatorEntity::getWebform()

Returns the entity webform id.

Return value

string The entity webform.

Overrides WebformContentCreatorInterface::getWebform

1 call to WebformContentCreatorEntity::getWebform()
WebformContentCreatorEntity::equalsWebform in src/Entity/WebformContentCreatorEntity.php
Check if the webform id is equal to the configured webform id.

File

src/Entity/WebformContentCreatorEntity.php, line 175

Class

WebformContentCreatorEntity
Defines the Webform Content creator entity.

Namespace

Drupal\webform_content_creator\Entity

Code

public function getWebform() {
  return $this
    ->get('webform');
}