public function ConfigPagesLoaderServiceInterface::load in Config Pages 8.3
Same name and namespace in other branches
- 8.2 src/ConfigPagesLoaderServiceInterface.php \Drupal\config_pages\ConfigPagesLoaderServiceInterface::load()
Loads config page entity by type and context.
Parameters
string $type: Config page type to load.
string $context: Context which should be used to load entity.
Return value
null|\Drupal\config_pages\Entity\ConfigPages Loaded CP object.
1 method overrides ConfigPagesLoaderServiceInterface::load()
- ConfigPagesLoaderService::load in src/
ConfigPagesLoaderService.php - Loads config page entity by type and context.
File
- src/
ConfigPagesLoaderServiceInterface.php, line 23
Class
- ConfigPagesLoaderServiceInterface
- Class ConfigPagesLoaderService.
Namespace
Drupal\config_pagesCode
public function load($type, $context = NULL);