MetaConfigDefinition
final class MetaConfigDefinition extends AbstractConfigDefinition (View source)
Collects metadata defaults contributed by an application or module.
Properties
| protected mixed[] | $data | from AbstractConfigDefinition |
Methods
Replaces one configuration value at a dot-separated path.
Appends one configuration value at a dot-separated list path.
Starts an empty metadata-default definition.
Identifies the configuration section handled by this definition.
Sets the fallback website name appended to page titles.
Sets the fallback character encoding emitted for a page.
Sets the fallback viewport declaration emitted for a page.
Sets the fallback content rating emitted for a page.
Sets the fallback separator between a page title and website name.
Details
toArray
array
toArray()
No description
set
protected AbstractConfigDefinition
set(string $path, mixed $value)
Replaces one configuration value at a dot-separated path.
append
protected AbstractConfigDefinition
append(string $path, mixed $value)
Appends one configuration value at a dot-separated list path.
moduleKey
static string
moduleKey()
Identifies the configuration section handled by this definition.
websiteName
MetaConfigDefinition
websiteName(string $websiteName)
Sets the fallback website name appended to page titles.
charset
MetaConfigDefinition
charset(string $charset)
Sets the fallback character encoding emitted for a page.
viewport
MetaConfigDefinition
viewport(string $viewport)
Sets the fallback viewport declaration emitted for a page.
rating
MetaConfigDefinition
rating(string $rating)
Sets the fallback content rating emitted for a page.
titleSeparator
MetaConfigDefinition
titleSeparator(string $titleSeparator)
Sets the fallback separator between a page title and website name.