You are here

public function OpignoGroupManagedContent::getGroupContentTypeId in Opigno group manager 8

Same name and namespace in other branches
  1. 3.x src/Entity/OpignoGroupManagedContent.php \Drupal\opigno_group_manager\Entity\OpignoGroupManagedContent::getGroupContentTypeId()

Returns group content type ID.

Return value

string The group content type plugin ID.

2 calls to OpignoGroupManagedContent::getGroupContentTypeId()
OpignoGroupManagedContent::getGroupContentType in src/Entity/OpignoGroupManagedContent.php
Get the content type object of this content.
OpignoGroupManagedContent::getSuccessfulRequiredActvities in src/Entity/OpignoGroupManagedContent.php
Returns successful required activities array.

File

src/Entity/OpignoGroupManagedContent.php, line 136

Class

OpignoGroupManagedContent
Defines the Opigno Group Content entity.

Namespace

Drupal\opigno_group_manager\Entity

Code

public function getGroupContentTypeId() {
  return $this
    ->get('group_content_type_id')->value;
}