https://github.com/br0ken-/ctools_api
The mirror of
https://github.com/br0ken-/ctools_api
drupal drupal-7 drupal-module
Last synced: 12 months ago
JSON representation
The mirror of
- Host: GitHub
- URL: https://github.com/br0ken-/ctools_api
- Owner: BR0kEN-
- Created: 2018-07-13T07:20:44.000Z (over 7 years ago)
- Default Branch: 7.x-1.x
- Last Pushed: 2018-07-13T19:04:55.000Z (over 7 years ago)
- Last Synced: 2025-02-04T00:34:58.940Z (about 1 year ago)
- Topics: drupal, drupal-7, drupal-module
- Language: PHP
- Homepage: https://drupal.org/project/ctools_api
- Size: 199 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CTools API [](https://travis-ci.org/BR0kEN-/ctools_api)
OOP representation for `content_types`, `styles` and `access` types of [CTools](https://www.drupal.org/project/ctools) plugins.
## Main features
- Interfaces. You will never forget implement something or do it wrongly.
- Inheritance. No need to explain the benefits.
- Configuration. All forms builds on a single basis.
- Dependencies. Plugins could have a list of Drupal modules required for working.
- Templatable. Auto creation of theme hooks and their variants. Just create `.tpl.php` file.
- AJAX. Simpler than ever before.
## Examples
CTools API provide a set of useful plugins which also could be used as examples.
- Access
- [HTTP Status Code](plugins/CTools/Plugins/Access/HTTPStatusCode.inc)
- Content types
- [Entity Reference](plugins/CTools/Plugins/ContentTypes/EntityReference.inc)
- [Custom Table](plugins/CTools/Plugins/ContentTypes/CustomTable/CustomTable.inc)
- [Mini Panels](plugins/CTools/Plugins/ContentTypes/MiniPanels.inc)
- Styles
- [Customizable Region](plugins/CTools/Plugins/Styles/CustomizableRegion.inc)
- [Customizable Pane](plugins/CTools/Plugins/Styles/CustomizablePane.inc)