Block Data provides the ability to add data attributes to blocks that come in handy when working with external APIs or JavaScript frameworks. This can be anything from adding data attributes for theme enhancements like modals and tooltips, to adding additional inline style attributes to a block.
This module works very similar to Block Class in that it utilizes the Core Block API and stores data attributes in the block table.
Dependencies
Options Element provides us a better UI for adding data attributes that is easy to understand for the end-user.
Project information
- Module categories: Developer Tools
- 34 sites report using this module
- Created by kyletaylored on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
Development version: 7.x-1.x-dev updated 25 Apr 2017 at 05:44 UTC