# generator-ctools-layout

> Yeoman generator for Drupal's ctools layout plugins.

Latest version **0.1.2** (published 2014-12-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install generator-ctools-layout
pnpm add generator-ctools-layout
yarn add generator-ctools-layout
bun add generator-ctools-layout
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2014-12-01 |
| First published | 2014-11-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 5 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | John Ferris |
| Maintainers | pixelwhip |
| Keywords | yeoman-generator, drupal, ctools, layout |

## Links

- npm: https://www.npmjs.com/package/generator-ctools-layout
- Repository: https://github.com/pixelwhip/generator-ctools-layout
- Issues: https://github.com/pixelwhip/generator-ctools-layout/issues
- npm.io page: https://npm.io/package/generator-ctools-layout

## Dependencies (5)

- [chalk](https://npm.io/package/chalk.md) ^0.5.0
- [yosay](https://npm.io/package/yosay.md) ^0.3.0
- [underscore](https://npm.io/package/underscore.md) ^1.7.0
- [yeoman-generator](https://npm.io/package/yeoman-generator.md) ^0.17.0
- [underscore.string](https://npm.io/package/underscore.string.md) ^2.4.0

## Recent versions

- 0.1.2 (latest) — 2014-12-01
- 0.1.1 — 2014-11-30
- 0.1.0 — 2014-11-30

## README

# generator-ctools-layout [![Build Status](https://secure.travis-ci.org/pixelwhip/generator-ctools-layout.png?branch=master)](https://travis-ci.org/pixelwhip/generator-ctools-layout)

> [Yeoman](http://yeoman.io) 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.

```bash
npm install -g yo
```

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

```bash
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:

```bash
mkdir landing_page
```

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

```bash
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](http://gruntjs.com) and [Bower](http://bower.io), check out the complete [Getting Started Guide](https://github.com/yeoman/yeoman/wiki/Getting-Started).


## License

MIT

---
_Source: https://npm.io/package/generator-ctools-layout · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
