Skip to content

Let user configure how censorString works #84

@MekDrop

Description

@MekDrop

Instead adding stub like, that can be not available in non @ImpressCMS to give a possibility to with some Facade class configure providing special class that implements interface that let's change censor string provider/functionality:

if (!class_exists('icms_core_DataFilter')) {
    class icms_core_DataFilter
    {
        public static function censorString(string $text): string
        {
            return $text;
        }
    }
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions