trait TagRead

Read the tags associated with an object, typically an entity.

Methods

array
getTagsForObject(int $id, string $module)

Get tags associated with an object.

Details

at line 39
array getTagsForObject(int $id, string $module)

Get tags associated with an object.

Parameters

int $id ID of content object.
string $module Name of module associated with this object.

Return Value

array Tag IDs and titles as key-value pairs.