Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
26 lines (19 sloc) 0.494 kb

EdpModuleLayouts

Version 1.0 Created by Evan Coury

Introduction

EdpModuleLayouts is a very simple ZF2 module (less than 20 lines) that simply allows you to specify alternative layouts to use for each module.

Usage

Using EdpModuleLayouts is very, very simple. In any module config or autoloaded config file simply specify the following:

array(
    'module_layouts' => array(
        'ModuleName' => 'layout/some-layout',
    ),
);

That's it!

Jump to Line
Something went wrong with that request. Please try again.