You are here

public function EqualColumnGrid::__construct in Grid builder 8

Overrides Drupal\Component\Plugin\PluginBase::__construct().

Overrides PluginBase::__construct

File

lib/Drupal/gridbuilder/Plugin/gridbuilder/gridbuilder/EqualColumnGrid.php, line 26
Definition of Drupal\gridbuilder\Plugin\gridbuilder\gridbuilder\EqualColumnGrid.

Class

EqualColumnGrid
Plugin annotation @Plugin( id = "equal_column_grid", derivative = "Drupal\gridbuilder\Plugin\Derivative\GridBuilder" )

Namespace

Drupal\gridbuilder\Plugin\gridbuilder\gridbuilder

Code

public function __construct(array $configuration, $plugin_id, DiscoveryInterface $discovery) {

  // Get definition by discovering the declarative information.
  $definition = $discovery
    ->getDefinition($plugin_id);
  parent::__construct($configuration, $plugin_id, $discovery);
}