Views currently has basic functionality to enabled and disable views. This currently works by setting the 'disabled' key on ViewStorage and calling save() on the view. It would be better if this could work more like exportables currently does in D7, with the status to be set/overridden outside of the view.
This feature could benefit any type of configuration entities.
Add a new key to the entity info for configuration entities to store the config name for a new file. This file can store an array of key => status for each configuration entity.
Initial patch only, needs review and work.
User interface changes
Enable, disable, and isEnabled methods to interface and ConfigEntityBase and ConfigStorageController. As above, definitely needs work and review.
Original report by damiankloip
|PASSED: [[SimpleTest]]: [MySQL] 49,843 pass(es).|
|PASSED: [[SimpleTest]]: [MySQL] 49,202 pass(es).|
|FAILED: [[SimpleTest]]: [MySQL] 49,191 pass(es), 1 fail(s), and 0 exception(s).|