Returns structure for given key and type.
public getStructure ( string $key, string $type = Structure::TYPE_PAGE ) : Sulu\Component\Content\Compat\StructureInterface | ||
$key | string | |
$type | string | |
return | Sulu\Component\Content\Compat\StructureInterface |