You are here

public function Skin::elementTypeLabel in Skinr 8.2

Returns the element_type label.

File

src/Entity/Skin.php, line 89
Contains \Drupal\skinr\Entity\Skin.

Class

Skin
Defines the Skin entity.

Namespace

Drupal\skinr\Entity

Code

public function elementTypeLabel() {
  $config = skinr_get_config_info();
  return isset($config[$this->element_type]) ? $config[$this->element_type] : '';
}