Skip to content

decorators_index

Polmonite edited this page Sep 21, 2019 · 1 revision

Decorators

A Decorator is a class that enrich a Malini\Post with other data. All decorators are registered in the DecoratorRegistry. When registered in the DecoratorRegistry they are given a unque name, used by the engine to retrieve them, so they can be called in a more user-friendly way.

Custom decorators can be defined and registered in the registry; see here how.

The core decorators are:

Other

Extend Malini

  • Create your own Accessor
  • Create your own Decorator
  • Available Extensions
    • Malini\Aeria
    • Malini\YOAST
    • Malini\ACF
Clone this wiki locally