You are here

public function OgMembershipInterface::setCreatedTime in Organic groups 8

Sets the membership creation timestamp.

Parameters

int $timestamp: The membership creation timestamp.

Return value

\Drupal\og\OgMembershipInterface The updated OG Membership object.

1 method overrides OgMembershipInterface::setCreatedTime()
OgMembership::setCreatedTime in src/Entity/OgMembership.php
Sets the membership creation timestamp.

File

src/OgMembershipInterface.php, line 83

Class

OgMembershipInterface
Provides an interface for OG memberships.

Namespace

Drupal\og

Code

public function setCreatedTime(int $timestamp) : OgMembershipInterface;