You are here

public function Mapping::getContentTypeName in GatherContent 8.5

Same name and namespace in other branches
  1. 8.3 src/Entity/Mapping.php \Drupal\gathercontent\Entity\Mapping::getContentTypeName()
  2. 8.4 src/Entity/Mapping.php \Drupal\gathercontent\Entity\Mapping::getContentTypeName()

Getter for content type human name.

Return value

string Content type human name.

Overrides MappingInterface::getContentTypeName

File

src/Entity/Mapping.php, line 217

Class

Mapping
Defines the GatherContent Mapping entity.

Namespace

Drupal\gathercontent\Entity

Code

public function getContentTypeName() {
  return $this
    ->get('content_type_name');
}