You are here

public function H5PEditorAjaxImport::h5pLibariesList in Opigno module 8

Same name and namespace in other branches
  1. 3.x src/H5PImportClasses/H5PEditorAjaxImport.php \Drupal\opigno_module\H5PImportClasses\H5PEditorAjaxImport::h5pLibariesList()

Gets the list of libraries.

Return value

array Array of libraries.

File

src/H5PImportClasses/H5PEditorAjaxImport.php, line 96

Class

H5PEditorAjaxImport
Class H5PEditorAjaxMigrate.

Namespace

Drupal\opigno_module\H5PImportClasses

Code

public function h5pLibariesList() {
  if (!$this
    ->isHubOn()) {
    return;
  }
  return $this
    ->getContentTypeCache(!$this
    ->isContentTypeCacheUpdated());
}