You are here

public function DefaultController::info in Fancy File Delete 2.0.x

Default Page Controller.

1 string reference to 'DefaultController::info'
fancy_file_delete.routing.yml in ./fancy_file_delete.routing.yml
fancy_file_delete.routing.yml

File

src/Controller/DefaultController.php, line 15

Class

DefaultController
Default controller for the fancy_file_delete module.

Namespace

Drupal\fancy_file_delete\Controller

Code

public function info() {
  $html = '<h2>' . $this
    ->t('Fancy File Delete Options') . '</h2>';
  $html .= '<ol>';
  $html .= '<li>' . $this
    ->t('<b>LIST:</b> View of all managed files with an <em>option to force</em> delete them via VBO custom actions') . '</li>';
  $html .= '<li>' . $this
    ->t('<b>MANUAL:</b> Manually deleting managed files by FID (and an  <em>option to force</em> the delete if you really want to).') . '</li>';
  $html .= '<li>' . $this
    ->t('<b>ORPHANED:</b> Deleting unused files from the whole install that are no longer attached to nodes & the file usage table. AKA deleting all the orphaned files.') . '</li>';
  $html .= '<li>' . $this
    ->t('<b>UNMANAGED:</b> Deleting unused files from the default files directory that are not in the file managed table. AKA deleting all the unmanaged files.') . '</li>';
  $html .= '</ol>';
  return [
    '#markup' => $html,
  ];
}