backend_assets

Allows adding custom content to HEAD section.

Team

Input (passed by reference)

No specific parameters.
… your plugin code …

Output

{$backend_assets.%plugin_id%}
Custom content for HEAD section; e.g., <style> or <style> elements.
Team

Plugin code example

PHP

public function backendAssets()
{
    return '<style>
        /* ... */
        </style>
        <script>
        /* ... */
        </script>';
}