master
branch is always production-ready, deployable, 100% green test suite- New development is done on feature branches, with frequent rebasing onto master
- Clean commit history by preferring to rebase instead of merge (
git pull
is configured to automatically rebase)
#Views Handlers - A Shakedown
This is a cheat sheet for information about extending the capabilities of Views by extending and building your own handlers. It will cover the basic handlers and attempt to cover some of the hooks that you might use when doing so. Including examples, basic documentation and some caveats where necessary. THIS IS NOT A COMPLETE LIST!! Consider the code of the handler your looking to extend to be the ultimate source of documentation. This is merely a convenience and a starting point.
_Ignore the tags in the included snippets, they are a convenience for formatting.
- Determine which handler you're going to extend. (eg
views_handler_field_numeric
). - Create a PHP .inc file using the class name of your handler:
views_handler_field_my_numeric_field.inc
.