static function get_structure_module_slugs() { if (!empty(self::$structure_module_slugs)) { return self::$structure_module_slugs; } $structure_modules = self::get_structure_modules(); self::$structure_module_slugs = array(); foreach ($structure_modules as $structural_module) { self::$structure_module_slugs[] = $structural_module->slug; } return self::$structure_module_slugs; }