You are here

LogTypeInterface.php in Log entity 2.x

Namespace

Drupal\log\Entity

File

src/Entity/LogTypeInterface.php
View source
<?php

namespace Drupal\log\Entity;

use Drupal\Core\Config\Entity\ConfigEntityInterface;
use Drupal\Core\Entity\EntityDescriptionInterface;
use Drupal\Core\Entity\RevisionableEntityBundleInterface;

/**
 * Provides an interface for defining Log type entities.
 */
interface LogTypeInterface extends ConfigEntityInterface, EntityDescriptionInterface, RevisionableEntityBundleInterface {

  /**
   * Returns the name pattern for a log type.
   *
   * @return string
   *   The log type name pattern.
   */
  public function getNamePattern();

}

Interfaces

Namesort descending Description
LogTypeInterface Provides an interface for defining Log type entities.