public function ImceHelpController::index in IMCE 8.2
Same name and namespace in other branches
- 8 src/Controller/ImceHelpController.php \Drupal\imce\Controller\ImceHelpController::index()
1 string reference to 'ImceHelpController::index'
File
- src/
Controller/ ImceHelpController.php, line 55
Class
- ImceHelpController
- Controller routines for help routes.
Namespace
Drupal\imce\ControllerCode
public function index() {
$build = [];
$build['#theme'] = 'imce_help';
$build['#title'] = 'Imce File Manager Help';
$build['#markup'] = static::htmlHelp();
$build['#videos'][1]['title'] = 'IMCE with CKEditor in Drupal 8';
$build['#videos'][1]['video'] = 'https://www.youtube.com/embed/wnOmlvG4tRo';
$build['#videos'][2]['title'] = 'Integration IMCE with image/file field in Drupal 8';
$build['#videos'][2]['video'] = 'https://www.youtube.com/embed/MAHonUyKVc0';
return $build;
}