You are here

public function GroupContentType::getGroupTypeId in Group 2.0.x

Same name and namespace in other branches
  1. 8 src/Entity/GroupContentType.php \Drupal\group\Entity\GroupContentType::getGroupTypeId()

Gets the group type ID the content type was created for.

Return value

string The group type ID for which the content type was created.

Overrides GroupContentTypeInterface::getGroupTypeId

2 calls to GroupContentType::getGroupTypeId()
GroupContentType::getGroupType in src/Entity/GroupContentType.php
Gets the group type the content type was created for.
GroupContentType::getRelationPlugin in src/Entity/GroupContentType.php
Gets the group relation plugin the content type uses.

File

src/Entity/GroupContentType.php, line 133

Class

GroupContentType
Defines the Group content type configuration entity.

Namespace

Drupal\group\Entity

Code

public function getGroupTypeId() {
  return $this->group_type;
}