System Grab Bag

View all TLDR pages from common (or from all pages)

drupal-check

Check Drupal PHP code for deprecations. More information: https://github.com/mglaman/drupal-check.
  • Check the code in a specific directory for deprecations:
    drupal-check {{path/to/directory}}
  • Check the code excluding a comma-separated list of directories:
    drupal-check --exclude-dir {{path/to/excluded_directory}},{{path/to/excluded_files/*.php}} {{path/to/directory}}
  • Don't show a progress bar:
    drupal-check --no-progress {{path/to/directory}}
  • Perform static analysis to detect bad coding practices:
    drupal-check --analysis {{path/to/directory}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.