The Decoupled Blocks: Twig is a submodule of the Decoupled Blocks module. It allows to create blocks using regular Drupal stuff like twig templates and PHP classes with all its capabilities. These blocks are encapsulated into a folder with all the stuff needed for it. The blocks will be available for use on any UI capable of using blocks like Block Layout or Layout Builder.
The module provide some other features like a ComponentManager that allows to programatically create these blocks and support for translation files inside the encapsulated folder of the block.
Some additional documentation is still needed at the moment and I will be working on that during this week.
Comments
Comment #2
avpadernoThank you for applying!
Please read Review process for security advisory coverage: What to expect for more details and Security advisory coverage application checklist to understand what reviewers look for. Tips for ensuring a smooth review gives some hints for a smother review.
The important notes are the following.
phpcs --standard=Drupal,DrupalPracticeon the project, which alone fixes most of what reviewers would report.To the reviewers
Please read How to review security advisory coverage applications, What to cover in an application review, and Drupal.org security advisory coverage application workflow.
Reviewer's task is describing what needs to be changed, not providing patches to fix what reported in a review.
Comment #3
vinaymahale commentedPlease fix the below PHPCS issues:
Comment #4
emacoti commentedThanks for the review @vinaymahale.
About the
"core_version_requirement" property is missing in the info.yml file, those are not actual extension like modules, those are yml file for the blocks and a custom discovery and parser will read and process them, thus making thecore_version_requirementnot needed. Would prefer to not add that not needed property in this case. Does that makes sense?Will fix the other one.
Comment #5
emacoti commentedok just pushed the fix for this one
It was a mistake on the method documentation, had array but was object type instead.
Comment #6
emacoti commentedComment #7
vinaymahale commentedAs per comment #4 yes that can be ignored. Other than that there are no more PHPCS issues.
Let's wait for other reviewers.
Comment #8
vinaymahale commentedI am changing priority as per Issue priorities
Comment #9
vinaymahale commentedNo issues found
Changing status to RTBC!
Comment #10
avpadernoThank you for your contribution! I am going to update your account.
These are some recommended readings to help with excellent maintainership:
You can find more contributors chatting on the Slack #contribute channel. So, come hang out and stay involved.
Thank you, also, for your patience with the review process.
Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.
Comment #11
avpadernoComment #12
emacoti commentedThank you! I will keep that in mind and try to participate and review other projects.