Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
/**
* Defines an interface for View storage classes.
*/
interface ViewEntityInterface extends ConfigEntityInterface {
it is not, in fact, a storage interface. Those are derived from interface ConfigEntityStorageInterface extends EntityStorageInterface
.
Proposed resolution
Write new doxygen.
Comments
Comment #1
dawehnerFair, we could update the documentation.
Note: It would be nice if we would still explain people that this is the object which stores the view, but the ViewExecutable is the object which actually contains the logic (Note: this is how we historically developed it)
Comment #2
chx CreditAttribution: chx commentedhttp://en.wikipedia.org/wiki/Data_transfer_object
http://en.wikipedia.org/wiki/Business_object
would one of them fit? Should I look for more?
Comment #3
dawehnerWell, the design is indeed afaik like a business object, but in reality though it has logic.
Comment #4
jhodgdon@dawehner, do you think we need to update docs for two different Views interfaces?
Can you explain what each of them is so we can understand why they're different, why there are two, and what they're for?
Comment #15
catch