Closed (fixed)
Project:
Block Group
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 May 2015 at 16:09 UTC
Updated:
13 Jul 2015 at 15:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
znerol commentedSomething like this perhaps.
Comment #3
znerol commentedComment #4
znerol commentedI'm not happy with the new function names. Also I hate the brittle
substrcomparison. Therefore, let's renameblockgroup_region_for_blockgroup()intoblockgroup_get_region()and removeblockgroup_region_is_blockgroup()and instead compare againstblockgroup_region_list(). Also introduce a static cache for the latter.Comment #6
znerol commentedRegion list needs to be initialized to an empty array.
Comment #7
znerol commentedUse references when moving regions into
$page['#blockgroups']. This is how it works in HEAD.Comment #8
znerol commentedAlso use the new function in the test case.
Comment #10
znerol commentedComment #11
znerol commentedBackport to 7.x-1.x.
Comment #12
znerol commentedComment #14
znerol commented