This micro-module does one thing and one thing only - it provides the lc function which is a drop in replacement for the l function. The l function formats a link, the lc function does the exact same thing except that it is context aware - meaning that no link will be printed if target location does not exist or if the user does not have permission to access it. It basically makes links act like menu items. This is super-handy for creating links to admin sections of the site that automatically do not show-up for those without permission. If you're feeling particularly naughty you might even want to replace l with lc so all your links are context aware.
Usage is identical to l, so click here to see how to use it.
Downloads
Project Information
- Maintenance status: Actively maintained
- Development status: Maintenance fixes only
- Module categories: Developer, Utility
- Reported installs: 19 sites currently report using this module. View usage statistics.
- Last modified: November 5, 2010