protected function getModuleInformation(Repository $repository, $module)
    {
        return [
            '#'           => $module['order'],
            'location'    => $repository->location,
            'name'        => isset($module['name']) ? $module['name'] : '',
            'slug'        => $module['slug'],
            'description' => isset($module['description']) ? $module['description'] : '',
            'status'      => (modules($repository->location)->isEnabled($module['slug'])) ? 'Enabled' : 'Disabled',
        ];
    }
protected function getModuleInformation(Repository $repository, $module)
    {
        return [
            '#'           => $module['order'],
            'location'    => $repository->location,
            'name'        => isset($module['name']) ? $module['name'] : '',
            'slug'        => $module['slug'],
            'description' => isset($module['description']) ? $module['description'] : '',
            'status'      => (modules($repository->location)->isEnabled($module['slug'])) ? 'Enabled' : 'Disabled',
        ];
    }
protected function getModuleInformation ( Repository $ repository , $ module ) { return [ '#' => $ module [ 'order' ] , 'location' => $ repository -> location , 'name' => isset ( $ module [ 'name' ] ) ? $ module [ 'name' ] : '' , 'slug' => $ module [ 'slug' ] , 'description' => isset ( $ module [ 'description' ] ) ? $ module [ 'description' ] : '' , 'status' => ( modules ( $ repository -> location ) -> isEnabled ( $ module [ 'slug' ] ) ) ? 'Enabled' : 'Disabled' , ] ; }
Returns module manifest information.

@param Repository $repository
@param array $module
@return array
Returns module manifest information .