From 4.0 to 4.1¶
A new way of registering entity capabilities has been introduced. The following related functions have been deprecated:
elgg_entity_enable_capability($type, $subtype, 'searchable')
elgg_entity_disable_capability($type, $subtype, 'searchable')
elgg_entity_has_capability($type, $subtype, 'searchable')
The config variable
registered_entities is no longer available.
The current implemented capabilities are “commentable”, “likable” and “searchable”.