You are here

public function MappingInterface::getFormattedContentType in GatherContent 8.5

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

Formatter for content type property.

Return value

string If not empty return human name for content type, else return None string.

1 method overrides MappingInterface::getFormattedContentType()
Mapping::getFormattedContentType in src/Entity/Mapping.php
Formatter for content type property.

File

src/Entity/MappingInterface.php, line 146

Class

MappingInterface
Provides an interface for defining GatherContent Mapping entities.

Namespace

Drupal\gathercontent\Entity

Code

public function getFormattedContentType();