You are here

public function ContentTypeILT::getAvailableContents in Opigno Instructor-led Trainings 3.x

Same name and namespace in other branches
  1. 8 src/Plugin/OpignoGroupManagerContentType/ContentTypeILT.php \Drupal\opigno_ilt\Plugin\OpignoGroupManagerContentType\ContentTypeILT::getAvailableContents()

Get all the published entities in an array of LearningPathContent.

Return value

LearningPathContent[]|false The published contents or FALSE in case of error.

Overrides ContentTypeInterface::getAvailableContents

File

src/Plugin/OpignoGroupManagerContentType/ContentTypeILT.php, line 166

Class

ContentTypeILT
Class ContentTypeILT.

Namespace

Drupal\opigno_ilt\Plugin\OpignoGroupManagerContentType

Code

public function getAvailableContents() {
  return $this
    ->getAllContents();
}