AbstractBase
in package
implements
ContentBlockInterface
Abstract base content block.
Tags
Interfaces, Classes, Traits and Enums
- ContentBlockInterface
- Content block interface
Table of Contents
- $config : string
- Configuration
- getContext() : array<string|int, mixed>
- Return context variables used for rendering the block's template.
- setConfig() : void
- Store the configuration of the content block.
Properties
$config
Configuration
protected
string
$config
= ''
Methods
getContext()
Return context variables used for rendering the block's template.
public
getContext() : array<string|int, mixed>
Return values
array<string|int, mixed> —setConfig()
Store the configuration of the content block.
public
setConfig(string $settings) : void
Parameters
- $settings : string
-
Settings from searches.ini.