You are here

public function ImceHelpController::index in IMCE 8.2

Same name and namespace in other branches
  1. 8 src/Controller/ImceHelpController.php \Drupal\imce\Controller\ImceHelpController::index()
1 string reference to 'ImceHelpController::index'
imce.routing.yml in ./imce.routing.yml
imce.routing.yml

File

src/Controller/ImceHelpController.php, line 55

Class

ImceHelpController
Controller routines for help routes.

Namespace

Drupal\imce\Controller

Code

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;
}