You are here

WeatherPlaceInterface.php in Weather 8

Same filename and directory in other branches
  1. 2.0.x src/Entity/WeatherPlaceInterface.php

File

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

namespace Drupal\weather\Entity;

use Drupal\Core\Entity\ContentEntityInterface;

/**
 * Provides an interface for defining Weather place entities.
 *
 * @ingroup weather
 */
interface WeatherPlaceInterface extends ContentEntityInterface {

  /**
   * Status weather place will get when first time imported from csv file.
   */
  public const STATUS_ORIGINAL = 'original';

  /**
   * This status means some data for this place was changed on yr.no site.
   */
  public const STATUS_MODIFIED = 'modified';

  /**
   * Place was added by user, manually, on module's settings page.
   */
  public const STATUS_ADDED = 'added';

}

Interfaces

Namesort descending Description
WeatherPlaceInterface Provides an interface for defining Weather place entities.