commerce-8.x-2.8/modules/log/src/Plugin/LogCategory/LogCategory.php

modules/log/src/Plugin/LogCategory/LogCategory.php
<?php

namespace Drupal\commerce_log\Plugin\LogCategory;

use Drupal\Core\Plugin\PluginBase;

class LogCategory extends PluginBase implements LogCategoryInterface {

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

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

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

}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc