pino-8.x-1.2-no-core/modules/member/src/Entity/MemberInterface.php

modules/member/src/Entity/MemberInterface.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<?php
 
namespace Drupal\member\Entity;
 
use Drupal\Core\Entity\ContentEntityInterface;
use Drupal\Core\Entity\RevisionLogInterface;
use Drupal\Core\Entity\EntityChangedInterface;
use Drupal\user\EntityOwnerInterface;
 
/**
 * Provides an interface for defining Member entities.
 *
 * @ingroup member
 */
interface MemberInterface extends ContentEntityInterface, RevisionLogInterface, EntityChangedInterface, EntityOwnerInterface {
 
  /**
   * Gets the Member name.
   *
   * @return string
   *   Name of the Member.
   */
  public function getName();
 
  /**
   * Sets the Member name.
   *
   * @param string $name
   *   The Member name.
   *
   * @return \Drupal\member\Entity\MemberInterface
   *   The called Member entity.
   */
  public function setName($name);
 
  /**
   * Gets the Member creation timestamp.
   *
   * @return int
   *   Creation timestamp of the Member.
   */
  public function getCreatedTime();
 
  /**
   * Sets the Member creation timestamp.
   *
   * @param int $timestamp
   *   The Member creation timestamp.
   *
   * @return \Drupal\member\Entity\MemberInterface
   *   The called Member entity.
   */
  public function setCreatedTime($timestamp);
 
  /**
   * Gets the Member revision creation timestamp.
   *
   * @return int
   *   The UNIX timestamp of when this revision was created.
   */
  public function getRevisionCreationTime();
 
  /**
   * Sets the Member revision creation timestamp.
   *
   * @param int $timestamp
   *   The UNIX timestamp of when this revision was created.
   *
   * @return \Drupal\member\Entity\MemberInterface
   *   The called Member entity.
   */
  public function setRevisionCreationTime($timestamp);
 
  /**
   * Gets the Member revision author.
   *
   * @return \Drupal\user\UserInterface
   *   The user entity for the revision author.
   */
  public function getRevisionUser();
 
  /**
   * Sets the Member revision author.
   *
   * @param int $uid
   *   The user ID of the revision author.
   *
   * @return \Drupal\member\Entity\MemberInterface
   *   The called Member entity.
   */
  public function setRevisionUserId($uid);
 
}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc