Install

Works with Drupal: 7.x

Using Composer to manage Drupal site dependencies

Downloads

Download tar.gz 469.36 KB
MD5: b3782dd62da9beab9fae6d4cebaa4a81
SHA-1: bd9118813ec676e5c477fa1577e9f910d47e9c7d
SHA-256: b54c6c9d6e84ece69d79ed1253fbc4d2ae01fb6fe9e57140b1b267c2f723ae2e
Download zip 970.41 KB
MD5: 704080c8d58baa4e511a7e3deda147b7
SHA-1: db5e6c1d5f84422fd6f75a950ee96544276758ff
SHA-256: 0d6fd4d9fcf82ec5caa9c9c2b8b2ac7a5c0d792ca9d79421b53726b9e7962bc5

Release notes

Mostly a bugfix release but some important stuff has changed since beta3.
The way CTools and Annotated plugins are declared has been changed.

Using PHP before:

  /**
   * {@inheritdoc}
   */
  public function getContainerDefinition() {
    $services = array();
    $parameters['ctools_plugins_auto_discovery']['service_container_test_ctools'] = TRUE;

    return array(
      'parameters' => $parameters,
      'services' => $services,
    );
  }

Using PHP now:

  /**
   * {@inheritdoc}
   */
  public function getContainerDefinition() {
    $services = array();
    $parameters['ctools_plugins_auto_discovery.service_container_test_ctools'] = array('service_container_test_ctools');

    return array(
      'parameters' => $parameters,
      'services' => $services,
    );
  }

Using Yaml before:

parameters:
  annotated_plugins_auto_discovery:
    - { owner: 'sc_doctrine_test', type: 'Plugin1', directory: 'Plugin/Plugin1', class: 'Drupal\Component\Annotation\Plugin' }
    - { owner: 'sc_doctrine_test', type: 'Plugin2', directory: 'Plugin/Plugin2', class: 'Drupal\Component\Annotation\Plugin' }

Using Yaml now:

parameters:
  annotated_plugins_auto_discovery.service_container_annotation_discovery_test:
    - { owner: 'sc_doctrine_test', type: 'Plugin1', directory: 'Plugin/Plugin1', class: 'Drupal\Component\Annotation\Plugin' }
    - { owner: 'sc_doctrine_test', type: 'Plugin2', directory: 'Plugin/Plugin2', class: 'Drupal\Component\Annotation\Plugin' }
Created by: pol
Created on: 25 Jun 2015 at 18:03 UTC
Last updated: 3 Aug 2015 at 13:33 UTC
Bug fixes
Unsupported

Other releases