You are here

public function WebformContentCreatorEntity::getAttributes 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::getAttributes()
  2. 3.x src/Entity/WebformContentCreatorEntity.php \Drupal\webform_content_creator\Entity\WebformContentCreatorEntity::getAttributes()

Returns the entity attributes as an associative array.

Return value

array The entity attributes mapping.

Overrides WebformContentCreatorInterface::getAttributes

File

src/Entity/WebformContentCreatorEntity.php, line 242

Class

WebformContentCreatorEntity
Defines the Webform Content Creator entity.

Namespace

Drupal\webform_content_creator\Entity

Code

public function getAttributes() {
  return $this
    ->get(WebformContentCreatorInterface::ELEMENTS);
}