Closed (fixed)
Project:
Zen
Version:
6.x-2.x-dev
Component:
PHP Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
24 Jul 2009 at 12:54 UTC
Updated:
7 Aug 2009 at 13:00 UTC
Currently, the $edit_links_array is a simple un-keyed array of rendered links. While its easy to add links to this array and re-render the $edit_links var, its difficult to remove links or to modify the links because you have to search through the entire array using strpos (or something similar) to find the link you want.
The easy solution to this is to add unique keys to each array item.
For example, sub-themes could then just edit $edit_links_array['block-config'] directly.
Comments
Comment #1
johnalbinFixed.