You are here

public function WebformContentCreatorEntity::getAttributes 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::getAttributes()
  2. 2.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 200

Class

WebformContentCreatorEntity
Defines the Webform Content creator entity.

Namespace

Drupal\webform_content_creator\Entity

Code

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