function spaces_types($reset = false) {
static $spaces_types;
if (!isset($spaces_types) || $reset) {
$spaces_types = module_invoke_all('spaces_types');
drupal_alter('spaces_types', $spaces_types);
}
return $spaces_types;
}

CommentFileSizeAuthor
#1 635812-alter-spaces-types.patch562 bytesdamien tournoud

Comments

damien tournoud’s picture

Status: Active » Needs review
StatusFileSize
new562 bytes

That makes a lot of sense, and it is required if you want to slightly modify the behavior of an existing space type. Here is a patch.

damien tournoud’s picture

Actually, this is a duplicate of #511914: Introduce hook_spaces_types_alter.

jmiccolis’s picture

Status: Needs review » Closed (duplicate)

Marking as dupe.