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

Public Member Functions

 __construct (string $appRoot, NodeStorageInterface $nodeStorage, ConfigFactoryInterface $configFactory)
 
 build ($name)
 
 buildDataset ($name)
 

Detailed Description

Class.

Definition at line 11 of file Page.php.

Constructor & Destructor Documentation

◆ __construct()

Drupal\frontend\Page::__construct ( string  $appRoot,
NodeStorageInterface  $nodeStorage,
ConfigFactoryInterface  $configFactory 
)

Constructor.

Definition at line 20 of file Page.php.

Member Function Documentation

◆ build()

Drupal\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 35 of file Page.php.

◆ buildDataset()

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

Build Dataset.

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

Definition at line 52 of file Page.php.