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;
}
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 635812-alter-spaces-types.patch | 562 bytes | damien tournoud |
Comments
Comment #1
damien tournoud commentedThat 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.
Comment #2
damien tournoud commentedActually, this is a duplicate of #511914: Introduce hook_spaces_types_alter.
Comment #3
jmiccolis commentedMarking as dupe.