Classy themes css selectors

Document all css class selectors that are in the classy theme Drupal8 RC 2

format:

.foo { }
.foo-bar { }

filename.html.twig / filename.css

Twig - Available CSS selectors in the Classy theme:

LAYOUT

Body

Disable Drupal 8 caching during development

When you are developing a module or a theme you have to clear Drupal's cache (render cache, dynamic page cache, Twig cache) very often to see the changes being applied. You can disable caching for development.

So if your terminal looks like this:

Using The Theme Method

This method is demonstrated in views_isotope_example.module.

Outputting the Grid

A basic example is:

  $return[] = array(
    '#theme' => 'isotope_grid',
    '#items' => array(
      'value' => '<p>Item</p>',
      'data' => array(
        'color' => 'Blue',
      ),
    ),
  );

The #items that you pass to the theme function is an array where the 'value' is what should be displayed and the 'data' is what should be used for filtering.

Media Vimeo Uploader

In this doc you can find information how to start using Media Vimeo Uploader module.

Installation

1) Download and enable Media Vimeo Uploader module with his dependencies
2) Download vimeo.php library and place it in libraries folder
Library should be available at sites/all/libraries/vimeo.php/autoload.php

Allowed changes during the Drupal 8 release cycle

This policy explains what changes can be made to Drupal 8 following the release of 8.0.0.

For details on the Drupal 8 release schedule, including explanation of patch and minor releases, see the release cycle overview.

How to register layouts with Layout Plugin

The Layout plugin module allows modules or themes to register layouts, and for other modules (like Panels or Display Suite) to use them.

There are several ways to provide a layout. We'll discuss each in the sections below, starting with the simplest, most common case and building up to some of the more advanced techniques!

Pages

Subscribe with RSS Subscribe to RSS - Designers/themers