public function DrupalGapController::drupalgapConfig in DrupalGap 8.2
Same name and namespace in other branches
- 8 src/Controller/DrupalGapController.php \Drupal\DrupalGap\Controller\DrupalGapController::DrupalGapConfig()
- 8.0.x src/Controller/DrupalGapController.php \Drupal\DrupalGap\Controller\DrupalGapController::DrupalGapConfig()
Return the DrupalGap configuration page.
Return value
string A render array containing our DrupalGap configuration page content.
1 string reference to 'DrupalGapController::drupalgapConfig'
File
- src/
Controller/ DrupalGapController.php, line 25 - Contains \Drupal\drupalgap\Controller\DrupalGapController.
Class
- DrupalGapController
- Returns responses for DrupalGap module routes.
Namespace
Drupal\drupalgap\ControllerCode
public function drupalgapConfig() {
$output = array();
$output['drupalgap'] = array(
'#attached' => array(
'library' => array(
'drupalgap/drupalgap.config',
),
),
// Render the Status connection and some help docs.
'#markup' => \Drupal::service('renderer')
->render($this
->drupalStatus()),
);
return $output;
}