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
Create button group paragraph type based on Bootstrap framework button group component.
Bootstrap documentation: https://v4-alpha.getbootstrap.com/components/button-group/
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#8 | button_group_paragraph-2880636-8.patch | 15.97 KB | thenchev |
| |||
#7 | button_group_paragraph-2880636-7.patch | 22.33 KB | njagojevic |
#7 | interdiff-2880636-6-7.txt | 1.29 KB | njagojevic |
#6 | button_group_paragraph-2880636-6.patch | 22.33 KB | njagojevic |
#6 | interdiff-2880636-4-6.txt | 2.93 KB | njagojevic |
Comments
Comment #2
njagojevic CreditAttribution: njagojevic commentedWorking on it.
Comment #3
njagojevic CreditAttribution: njagojevic commentedComment #4
njagojevic CreditAttribution: njagojevic commentedAdded button group paragraph type. First should be #2875253: Buttons paragraph type commited.
Button group with same style applied on each button:
Button group with different styles applied on buttons:
Comment #5
CTaPByK CreditAttribution: CTaPByK commentedI can't apply this patch, i got error:
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "accordion" plugin does not exist. in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 52 of core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).
I guess you have some demo installed.
Be consistent; do not mix camelCase and snake_case variable naming inside a file.
https://www.drupal.org/docs/develop/standards/coding-standards#naming
Please check Code Sniffer setting inside your IDE.
Comment #6
njagojevic CreditAttribution: njagojevic commentedRemoved nonexistent plugins from config files and fixed coding standards.
Comment #7
njagojevic CreditAttribution: njagojevic commentedChanged label and description.
Comment #8
thenchev CreditAttribution: thenchev commentedComment #10
thenchev CreditAttribution: thenchev commented