Experimental Project

This is a sandbox project, which contains experimental code for developer use only.

Submodule residence for the Plugin system for D8.

Add to bootstrap.inc:

function plugin($class = 'Drupal\\Plugin\\Mapper') {
  static $mapper;
  if (!empty($mapper[$class])) {
    return $mapper[$class];
  }
  $mapper[$class] = new $class();
  if ($mapper[$class] instanceof Drupal\Plugin\MapperInterface) {
    return $mapper[$class];
  }
  throw new Drupal\Plugin\MapperException("Mapper class does not implement Drupal\\Plugin\\MapperInterface.");
}

Maintainers for Core PSR-0 Plugins

  • EclipseGc - 8 commits
    last: 13 weeks ago, first: 15 weeks ago

Issues for Core PSR-0 Plugins

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
nobody click here