{modulename}_filter is a hook that will be called by the Drupal core with specific expectations. Your module violates these expectations as rdf_filter is not intended to be an implementation of hook_filter.

You need to rename this function in order to avoid the namespace collision - a leading underscore as in _rdf_filter is the standard way to implement private methods.

CommentFileSizeAuthor
#1 rdf-hook-filter-221284-1.patch1.3 KBcburschka

Comments

cburschka’s picture

Status: Active » Needs review
StatusFileSize
new1.3 KB

Fixed.

Arto’s picture

Assigned: Unassigned » Arto
Arto’s picture

Status: Needs review » Fixed

Thanks for noticing, Arancaytar. It was a simple oversight on my part. Patch applied in changeset [101088].

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

Arto’s picture

Title: RDF inadvertently implements hook_filter. » RDF inadvertently implements hook_filter()
Component: Code » API compatibility
Arto’s picture

Title: RDF inadvertently implements hook_filter() » RDF API inadvertently implements hook_filter()