Add modules and themes as twig namespaces
Updated: Comment #NProblem/MotivationTwig has this concept of template include and extends. Currently we have to specify the complete path to a template file to include it. This fact, makes this...
View ArticleAdd per entity type managers to improve DX
ProblemAt the Drupalcamp Vienna code sprints I've seen people doing stuff like    /**      * @var \Drupal\node\NodeInterface $node      */such that they are able to auto-complete on the methods and...
View ArticleRemove non-storage logic from the storage controllers
Updated: Comment #49Problem/MotivationToo much business logic hiding in attachLoad(), we want to make storage controllers as focused on *storing* as possible and make it easy to provide different...
View ArticleSeparate storage operations from reactions
Problemhook_entity/insert/update/delete() are currently used for storage operations and reactions. This is in particular problematic, when reactions involve storing the same objects again and lead to...
View ArticleAllow per-bundle overrides of field definitions
EntityManager::getFieldDefinitions() allows for optional fields per bundle, but doesn't allow for a field of the same name to have different definitions per bundle. However, we need to allow for node...
View ArticleUnified repository of field definitions (cache + API)
Right now, with two field info systems: The one for entity fields maintained by the EntityManager and the one for configurable fields. Ideally, we've only one and avoid duplicated field definitions in...
View ArticleMake all field types provide a schema()
Make all field types provide a schema(), and clarify the relation between the schema and the "property definitions" and the respective ways to access them.More to come, just creating the issue for now...
View ArticleRemove field_attach_[form|view]()
Replace by simple iterators on form / render controllers, that assume that multilingual logic has been resolved upstream.Branch field_attach-remove-2095195 in the sandbox
View ArticleMissing docs for hook_schema_0()
Apparently #1018602: Move entity system to a module sneaked in this hook but we don't have docs to explain what it does.This is actually critical, but I'll split the difference at major for now in the...
View ArticleDeduplicate the set of available field types
Most base fields still use the "initial" set of field types that were introduced with the initial Entity/FieldNG patch. Those have no widgets/formatters, and many of them duplicate the "configurable...
View ArticleRemove "Field" prefix from FieldDefinitionInterface methods
As agreed in Prague (https://docs.google.com/document/d/1pgDY-RaTbajNqXm-oj8GdzPD_fPvLb2jhnrt...) FieldDefinitionInterface is intended to be the "primary" interface for classes that implement it. We...
View ArticleImages alt and title text are not passed through t()
Hi that would be an easy way to get translation for images, but it seems like those are not passed thorugh t(). Simone
View ArticleApply formatters and widgets to rendered entity base fields (all besides...
This issue is the sister issue to #1988612: Apply formatters and widgets to rendered entity base fields, starting with node.title , which is about getting rid of custom code for formatting and forms...
View ArticleIntroduce entity operation providers
ProblemFor every entity in entity listings we display several links that represent operations users can perform on those entities. At the time of writing these operation links are displayed in list...
View ArticleStop using the error control operator on filesystem calls (e.g. @unlink())
I just wasted half a dozen hours trying to debug why my module's stream wrapper tests were suddenly dying with no output, only to discover that the mysterious silent death was coming from Drupal core's...
View ArticleRemove category handling from aggregator
Updated: Comment #0Problem/MotivationAggregator module is doing too much. Especially the category handling is responsible for loads of custom code, which frankly we don't need in core.The CRUD logic is...
View ArticleConvert content_translation routes to a new style controller
Part of #1971384: [META] Convert page callbacks to controllersFor instructions on how to convert a page callback into a controller, see the WSCCI Conversion Guide.
View ArticleAllow to preview content in an actual live environment
ProblemNumerous tests from the Minnesota ones, to the Google one just recently discovered that people do not expect the preview to be shown within their administrative interface. In light of #1510532:...
View ArticleGet rid of comment_count_unpublished() in favor of CommentManager method
Updated: Comment #8Problem/MotivationFunction comment_count_unpublished() is used only as title of local task UnapprovedComments (added in #2032309: Use local tasks derivatives to provide local tasks...
View ArticleImplement hook_help() for views.module
I think we need this to fall in line with core modules. Title says it all.
View Article