alert_types-8.x-1.x-dev/src/Plugin/AlertTypeBehavior/AlertTypeBehaviorBase.php
src/Plugin/AlertTypeBehavior/AlertTypeBehaviorBase.php
<?php namespace Drupal\alert_types\Plugin\AlertTypeBehavior; use Drupal\Core\Plugin\PluginBase; use Drupal\Core\Entity\EntityInterface; /** * Alert type behavior base. */ abstract class AlertTypeBehaviorBase extends PluginBase implements AlertTypeBehaviorInterface { /** * {@inheritdoc} */ public static function isApplicable(EntityInterface $entity) { return TRUE; } /** * {@inheritdoc} */ public function preprocess(&$variables) { } }