Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to provide blocks by module config #68

Closed
nadar opened this issue May 7, 2018 · 0 comments
Closed

Option to provide blocks by module config #68

nadar opened this issue May 7, 2018 · 0 comments
Assignees

Comments

@nadar
Copy link
Member

nadar commented May 7, 2018

Add new cms admin module property to define blocks to import.

Example usage with differnt types of informations.

'cmsadmin' => [
    'class' => 'luya\cms\admin\Module',
    'blocks' => [
        '@app/extras/blocks', // a folder which contains blocks.
        '@app/somewhere/MyBlock.php', // a path to a specific block.
    ]
]
@nadar nadar self-assigned this May 7, 2018
nadar added a commit that referenced this issue May 7, 2018
@nadar nadar mentioned this issue May 7, 2018
@nadar nadar changed the title Block folders and files in module defintion Option to provide blocks by module config May 8, 2018
@nadar nadar closed this as completed May 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant