You are here

public function WebformContentCreatorEntity::getTitle in Webform Content Creator 2.x

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

Returns the entity title.

Return value

string The entity title.

Overrides WebformContentCreatorInterface::getTitle

1 call to WebformContentCreatorEntity::getTitle()
WebformContentCreatorEntity::statusMessage in src/Entity/WebformContentCreatorEntity.php
Show a message accordingly to status, after creating/updating an entity.

File

src/Entity/WebformContentCreatorEntity.php, line 138

Class

WebformContentCreatorEntity
Defines the Webform Content Creator entity.

Namespace

Drupal\webform_content_creator\Entity

Code

public function getTitle() {
  return $this
    ->get('title');
}