Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vijaycs85/modal_config
https://github.com/vijaycs85/modal_config
drupal modal
Last synced: 23 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/vijaycs85/modal_config
- Owner: vijaycs85
- Created: 2017-05-31T10:03:25.000Z (over 7 years ago)
- Default Branch: 8.x-1.x
- Last Pushed: 2018-03-25T16:07:22.000Z (almost 7 years ago)
- Last Synced: 2024-11-17T07:28:36.140Z (3 months ago)
- Topics: drupal, modal
- Language: PHP
- Size: 16.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MODAL CONFIGURATION
## Introduction
Drupal module allows to configure the links in operation drop down to open
in modal.Drupal 8 core provides a way to open any link to open in a modal across
the site. However its used in very few places in core. Some of the core
components like views have their own modal setup.
## Install
Download and install using drush/composer/drupal.org as usual.## Configuration
1. Go to admin > Configuration > User interface > Modal configuration
2. Use 'Add new configuration' button to create a new one.
3. In add screen provide:
3.1. Configuration name - Human readable label
3.2. Type - Currently supports only route name (for now)
3.3. Value - Full/partial route name (Just does `strpos()` for now)4. Save
**Note**: The module comes with default modal configuration that allows
to open all route names with `.delete` to open in modal.## Future
1. Add more types
2. Better way to set value instead open text field.
3. Better way to handle value instead of `strpos()`## Contributors
Feel free to open an
[issue](https://github.com/vijaycs85/modal_config/issues/new) or
[pull request](https://github.com/vijaycs85/modal_config/pulls) to improve, add
new features and bug fixes.## License
This project is distributed under the terms of the [GNU General Public
License version 2](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)