public function DefaultController::schema_show in Schema 8
1 string reference to 'DefaultController::schema_show'
File
- src/
Controller/ DefaultController.php, line 42 - Contains \Drupal\schema\Controller\DefaultController.
Class
- DefaultController
- Default controller for the schema module.
Namespace
Drupal\schema\ControllerCode
public function schema_show() {
$schema = schema_get_schema(TRUE);
return array(
'#type' => 'textarea',
'#rows' => 30,
'#value' => var_export($schema, TRUE),
'#attributes' => array(
'style' => 'width:100%;',
),
);
}