You are here

public function WebformContentCreatorEntity::getTitle in Webform Content Creator 8

Same name and namespace in other branches
  1. 3.x src/Entity/WebformContentCreatorEntity.php \Drupal\webform_content_creator\Entity\WebformContentCreatorEntity::getTitle()
  2. 2.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 128

Class

WebformContentCreatorEntity
Defines the Webform Content creator entity.

Namespace

Drupal\webform_content_creator\Entity

Code

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