Extra Block Types (EBT): Core module provides basic functionality for other EBT modules. It contains templates, Field Type, Field Widget, Field Formatter for EBT settings serialized field. It also provides CSS Box settings in DOM inspector style (width/height, paddings, borders, margins).
EBT modules provide ready to use Block types for sliders, carousels, tabs, timelines, etc.
https://www.drupal.org/project/ebt_accordion
https://www.drupal.org/project/ebt_slideshow
https://www.drupal.org/project/ebt_webform_popup
Main feature for all EBT modules is inline CSS styles. You can select colors, padding, margins and options for jQuery plugins and these settings will be used with inline CSS/Javascript on the page. EBT Core doesn't provide template for printing CSS, but other EBT modules print CSS.
Similar project Paragraph Pack:
https://www.drupal.org/project/paragraphs_pack
But EBT modules provide block types and tend to be easy for content managers using Layout Builder.
Project link
https://www.drupal.org/project/ebt_core
Git instructions
git clone --branch '1.3.x' https://git.drupalcode.org/project/ebt_core.git
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | Fix-deprecated-code-eport-issue-3282030.patch | 68 bytes | LuongGiap |
Comments
Comment #2
levmyshkinComment #3
levmyshkinComment #4
avpadernoThank you for applying! Reviewers will review the project files, describing what needs to be changed.
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.
To 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.
Since the project is being used for this application, for the time this application is open, only the user who created the application can commit code.
Comment #5
LuongGiap commentedHi @levmyshkin,
I ran Drupal Check code, you can review and fix it.
Comment #6
avpadernoComment #7
LuongGiap commentedSolved deprecated issue, Please review this patch.
Thanks
Comment #8
levmyshkinHi LuongGiap, thank you for your review! I replaced file_create_url(), drupal_get_path() functions and pushed changes in 1.3.x branch:
git clone --branch '1.3.x' https://git.drupalcode.org/project/ebt_core.gitCould you check it again?
Comment #9
avpadernoThe task of reviewers is pointing out what should be changed in the project, not providing patches.
The purpose of these applications is seeing what the user who applies understands about writing code and what reported in these applications.
Comment #10
LuongGiap commentedHi @levmyshkin,
I reviewed it and the bug was fixed.
Comment #11
LuongGiap commentedHi @apaderno,
Thank you for the reminder.
Comment #12
avpadernoThere is no need to use
$this->configFactory->getEditable();$this->config()returns the same object.There is no need to render a render array. See
LinkFormatter::viewElements(), for example.{@inheritdoc}isn't used for class properties.class GenerateCSS implements ContainerInjectionInterface {A service doesn't implement
ContainerInjectionInterface.coreisn't used anymore.Two of those modules aren't Drupal core modules.
drupalis the namespace for Drupal core modules, not contributed modules.Function names must be prefixed by the module machine name.
Since the README.txt file contains Markdown markup, its extension should be .md. The file doesn't follow the README template,
Comment #13
levmyshkinHi apaderno, thank you for your review! I fixed all items and pushed changes in 1.3.x current branch:
git clone --branch '1.3.x' https://git.drupalcode.org/project/ebt_core.git
I have a question about bunch of modules which use Extra Block Types (EBT): Core module. Should I create seprate review tickets for them too?
Comment #14
levmyshkinComment #15
mmjvb commentedNo, there is no need for separate issues for those modules. This module is used to certify you. As soon as you are you can request those modules to apply for security advisory. Similar to getting your drivers license, once you have it, you can drive any car.
Comment #16
avpadernoYes, mmjvb is correct: This application is necessary only once.
After you are given the necessary Drupal role to opt into security coverage for the projects for which you are maintainer, there isn't any need to apply again, since you will be able to opt into security coverage for every project, not just the one used for this application.
Comment #17
LuongGiap commentedHi @levmyshkin,
I checked , bug was fixed in branch '1.3.x'
Comment #18
LuongGiap commentedThanks
Comment #19
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.