You can break some dependencies between your controller and services if you add some functions like :

  /**
    * @return string[] 
    *       name of reports aviables
  **/
  getAviableReports()

  /**
    * @param string 
    *      report name
    */
  isAviableReport($name) {
    // test module dependencies
  }

  /**
    * @return array
   *   Display a table of the image styles used in fields.
   **/
   getReport($name)

Comments

grimreaper’s picture

Status: Active » Fixed

Hello,

Thanks for the suggestion, this is commited now.

  • Grimreaper committed 956114f on 8.x-1.x
    Issue #2510226 by ilmir, Grimreaper: Break Controller / List of reports...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.