Mage2\Feature\Module::registerViewPath PHP Method

registerViewPath() protected method

add path to view finder.
protected registerViewPath ( ) : void
return void
    protected function registerViewPath()
    {
        View::addLocation(__DIR__ . '/views');
    }