LogTemplate.php in Commerce Core 8.2
File
modules/log/src/Plugin/LogTemplate/LogTemplate.php
View source
<?php
namespace Drupal\commerce_log\Plugin\LogTemplate;
use Drupal\Component\Plugin\PluginBase;
class LogTemplate extends PluginBase implements LogTemplateInterface {
public function getId() {
return $this->pluginDefinition['id'];
}
public function getLabel() {
return $this->pluginDefinition['label'];
}
public function getCategory() {
return $this->pluginDefinition['category'];
}
public function getTemplate() {
return $this->pluginDefinition['template'];
}
}