Drupal Rector Documentation
Please note that this documentation was written for version 0.5.x of Drupal Rector, and may be out of date. Until updated documentation is available, please refer to the release notes for the current version on GitHub.
Drupal Rector is an open source tool built using Rector which can help automate many common deprecations between different versions of Drupal starting with version 8.
For more information, see https://github.com/palantirnet/drupal-rector.
Development guides
Individual deprecation overviews
- Updating deprecated file_prepare_directory() calls in Drupal 8
- Updating deprecated FILE_EXISTS_REPLACE calls in Drupal 8
- Unicode::strtolower() calls in Drupal 8
- Updating deprecated format_date() calls in Drupal 8
- Updating deprecated \Drupal::url() calls in Drupal 8
- Updating deprecated db_insert(), db_query(), db_select() calls in Drupal 8
- Updating deprecated entityManager() calls in Drupal 8
- Updating deprecated FILE_CREATE_DIRECTORY calls in Drupal 8
- Updating deprecated drupal_set_message() calls in Drupal 8
- Updating deprecated test classes extending WebTestBase in Drupal 8