Method | Description | |
---|---|---|
__construct ( ) | ||
getAreasForPageType ( string $class ) : array | Gets an array of all areas defined for the current theme that are compatible with pages of type $class. | |
getAreasForTheme ( string $theme = null, boolean $keyAsValue = true ) : array | Gets an array of all areas defined for the current theme. | |
getBlackListedPageTypes ( ) | * getBlackListedPageTypes optionally configured by the developer Includes blacklisted page types defined in the old exclude_from_page_types array | |
getBlockClasses ( ) | ||
getExcludeFromPageTypes ( ) | * Exclusion of blocks from page types defined in yaml | |
getPrefixDefaultCSSClasses ( ) | * Prefix for the default CSSClasses | |
getUseBlockSets ( ) | * Usage of BlockSets configurable from yaml | |
getUseExtraCSSClasses ( ) | * Usage of extra css classes configurable from yaml | |
getWhiteListedPageTypes ( ) | * getWhiteListedPageTypes optionally configured by the developer |
Method | Description | |
---|---|---|
getTheme ( ) | * Get the current/active theme or 'default' to support theme-less sites | |
getThemeConfig ( ) | * Get the block config for the current theme |
public getAreasForPageType ( string $class ) : array | ||
$class | string | |
return | array | $areas |
public getBlackListedPageTypes ( ) |
public getExcludeFromPageTypes ( ) |
public getPrefixDefaultCSSClasses ( ) |
public getUseBlockSets ( ) |
public getUseExtraCSSClasses ( ) |
public getWhiteListedPageTypes ( ) |