You are here

ChannelInterface.php in Entity Share 8.3

File

modules/entity_share_server/src/Entity/ChannelInterface.php
View source
<?php

declare (strict_types=1);
namespace Drupal\entity_share_server\Entity;

use Drupal\Core\Config\Entity\ConfigEntityInterface;

/**
 * Provides an interface for defining Channel entities.
 */
interface ChannelInterface extends ConfigEntityInterface {

  /**
   * Remove an authorized user if present. Do not save the entity.
   *
   * @param string $uuid
   *   The uuid of the user to remove.
   *
   * @return bool
   *   TRUE if the authorized_users property has been changed. FALSE otherwise.
   */
  public function removeAuthorizedUser($uuid);

}

Interfaces

Namesort descending Description
ChannelInterface Provides an interface for defining Channel entities.