Open Data Catalog v2.0.0
Drupal\dkan_frontend\Page Class Reference

Public Member Functions

 __construct (string $appRoot, EntityTypeManagerInterface $entityTypeManager)
 
 build ($name)
 
 buildDataset ($name)
 

Detailed Description

Class.

Definition at line 10 of file Page.php.

Constructor & Destructor Documentation

◆ __construct()

Drupal\dkan_frontend\Page::__construct ( string  $appRoot,
EntityTypeManagerInterface  $entityTypeManager 
)

Constructor.

Definition at line 18 of file Page.php.

Member Function Documentation

◆ build()

Drupal\dkan_frontend\Page::build (   $name)

Build.

Returns
string|bool False if file doesn't exist.
Todo:
/data-catalog-frontend/build/index.html may not always exist.

Definition at line 31 of file Page.php.

◆ buildDataset()

Drupal\dkan_frontend\Page::buildDataset (   $name)

Build Dataset.

Returns
string|bool False if file doesn't exist.

Definition at line 48 of file Page.php.