New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

generator-ctools-layout

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-ctools-layout

Yeoman generator for Drupal's ctools layout plugins.

latest
Source
npmnpm
Version
0.1.2
Version published
Maintainers
1
Created
Source

generator-ctools-layout Build Status

Yeoman generator

This is a Yeoman generator for Drupal's ctools layout plugins. This creates all the necessary files needed for a custom layout plugin. While you will be prompted for a list of regions, this generator makes no assumptions about the markup or CSS you'll need to actually style the layout. It simply creates an empty CSS file, a placeholder thumbnail image, a template with all the rendered regions and the include file to glue it all together. The rest is up to you.

Getting Started

Install Yeoman if you haven't already.

npm install -g yo

To install generator-ctools-layout from npm, run:

npm install -g generator-ctools-layout

Create a new directory in your ctools layout plugins folder with the machine name of your layout. For example, if you have a layout named Landing Page you would type the following:

mkdir landing_page

Now go into your newly created layout plugin folder and let Yeoman do his thing.

cd landing_page
yo ctools-layout

Yeoman will ask you some questions about your layout then build everything out for you!

For more information about ctools layouts see (https://www.drupal.org/node/495654)[https://www.drupal.org/node/495654].

Getting To Know Yeoman

Yeoman has a heart of gold. He's a person with feelings and opinions, but he's very easy to work with. If you think he's too opinionated, he can be easily convinced.

If you'd like to get to know Yeoman better and meet some of his friends, Grunt and Bower, check out the complete Getting Started Guide.

License

MIT

Keywords

yeoman-generator

FAQs

Package last updated on 01 Dec 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts