Problem/Motivation

From #2184387: Remove SchemaStorage. InstallStorage::getAllFolders() is a misleading method name:

getAllFolders() is a very confusing method name, assumed that it returns folders, but it returns an array keyed by configuration files with the folder as value.

Proposed resolution

Rename the method.

Remaining tasks

  • Choose a new name.
  • Rename the method in InstallStorage and its child classes. (Novice task)

API changes

InstallStorage::getAllFolders() is renamed. (This method is protected; therefore, this is not a public API change and does not need a change record.)

Original report by @alexpott

Over in #2184387: Remove SchemaStorage @berdir remarked that getFolders is poorly named. I agree.

Comments

xjm’s picture

Issue summary: View changes

Updated the summary. Once we pick a name for the method, this will be a novice issue.

The title also indicates something about documentation standards needing updates, but that seems to be out of scope for an issue that renames an API function, and anyway it's not clear to me what documentation standards need an update?

sun’s picture

Version: 8.0.x-dev » 8.1.x-dev

Drupal 8.0.6 was released on April 6 and is the final bugfix release for the Drupal 8.0.x series. Drupal 8.0.x will not receive any further development aside from security fixes. Drupal 8.1.0-rc1 is now available and sites should prepare to update to 8.1.0.

Bug reports should be targeted against the 8.1.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.2.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.1.x-dev » 8.2.x-dev

Drupal 8.1.9 was released on September 7 and is the final bugfix release for the Drupal 8.1.x series. Drupal 8.1.x will not receive any further development aside from security fixes. Drupal 8.2.0-rc1 is now available and sites should prepare to upgrade to 8.2.0.

Bug reports should be targeted against the 8.2.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.6 was released on February 1, 2017 and is the final full bugfix release for the Drupal 8.2.x series. Drupal 8.2.x will not receive any further development aside from critical and security fixes. Sites should prepare to update to 8.3.0 on April 5, 2017. (Drupal 8.3.0-alpha1 is available for testing.)

Bug reports should be targeted against the 8.3.x-dev branch from now on, and new development or disruptive changes should be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.