You are here

public function OpignoActivity::getType in Opigno module 8

Same name and namespace in other branches
  1. 3.x src/Entity/OpignoActivity.php \Drupal\opigno_module\Entity\OpignoActivity::getType()

Gets the Activity type.

Return value

string The Activity type.

Overrides OpignoActivityInterface::getType

File

src/Entity/OpignoActivity.php, line 98

Class

OpignoActivity
Defines the Activity entity.

Namespace

Drupal\opigno_module\Entity

Code

public function getType() {
  return $this
    ->bundle();
}