Inpsyde\MultilingualPress\Module\NetworkOptionModuleManager::get_module PHP Method

get_module() public method

Returns the module with the given ID.
Since: 3.0.0
public get_module ( string $id ) : Module
$id string Module ID.
return Module Module object.
    public function get_module($id)
    {
        if (!$this->has_module($id)) {
            throw InvalidModuleException::for_id($id, 'read');
        }
        return $this->modules[$id];
    }