You are here

public function ResourceType::getTypeName in JSON:API 8

Same name and namespace in other branches
  1. 8.2 src/ResourceType/ResourceType.php \Drupal\jsonapi\ResourceType\ResourceType::getTypeName()

Gets the type name.

Return value

string The type name.

File

src/ResourceType/ResourceType.php, line 77

Class

ResourceType
Value object containing all metadata for a JSON API resource type.

Namespace

Drupal\jsonapi\ResourceType

Code

public function getTypeName() {
  return $this->typeName;
}