You are here

OrderPanePluginBase.php in Ubercart 8.4

Namespace

Drupal\uc_order

File

uc_order/src/OrderPanePluginBase.php
View source
<?php

namespace Drupal\uc_order;

use Drupal\Core\Plugin\PluginBase;

/**
 * Defines a base order pane plugin implementation.
 */
abstract class OrderPanePluginBase extends PluginBase implements OrderPanePluginInterface {

  /**
   * {@inheritdoc}
   */
  public function getTitle() {
    return $this->pluginDefinition['title'];
  }

  /**
   * {@inheritdoc}
   */
  public function getClasses() {
    return [
      'abs-left',
    ];
  }

  /**
   * {@inheritdoc}
   */
  public function calculateDependencies() {
    return [];
  }

}

Classes

Namesort descending Description
OrderPanePluginBase Defines a base order pane plugin implementation.