Skip to content

Disable filters/hooks via config.yml? #140

@alexwybraniec

Description

@alexwybraniec

I would like to disable the Decoda censor hook via config.yml.

The Decoda docs give this example of:
$code = new Decoda\Decoda($string); $code->removeHook('Censor');

but I can't see how this could be done in the FMBbCodeBundle.

My current workaround is to amend the Decoda package to return an empty censorship array, but this has meant editing a composer package directly.

Any help greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions