FontInterface.php in Open Social 10.0.x
Same filename and directory in other branches
- 8.9 modules/custom/social_font/src/Entity/FontInterface.php
- 8 modules/custom/social_font/src/Entity/FontInterface.php
- 8.2 modules/custom/social_font/src/Entity/FontInterface.php
- 8.3 modules/custom/social_font/src/Entity/FontInterface.php
- 8.4 modules/custom/social_font/src/Entity/FontInterface.php
- 8.5 modules/custom/social_font/src/Entity/FontInterface.php
- 8.6 modules/custom/social_font/src/Entity/FontInterface.php
- 8.7 modules/custom/social_font/src/Entity/FontInterface.php
- 8.8 modules/custom/social_font/src/Entity/FontInterface.php
- 10.3.x modules/custom/social_font/src/Entity/FontInterface.php
- 10.1.x modules/custom/social_font/src/Entity/FontInterface.php
- 10.2.x modules/custom/social_font/src/Entity/FontInterface.php
Namespace
Drupal\social_font\EntityFile
modules/custom/social_font/src/Entity/FontInterface.phpView source
<?php
namespace Drupal\social_font\Entity;
use Drupal\Core\Entity\ContentEntityInterface;
use Drupal\Core\Entity\EntityChangedInterface;
use Drupal\user\EntityOwnerInterface;
/**
* Provides an interface for defining Font entities.
*
* @ingroup social_font
*/
interface FontInterface extends ContentEntityInterface, EntityChangedInterface, EntityOwnerInterface {
/**
* Gets the Font name.
*
* @return string
* Name of the Font.
*/
public function getName();
/**
* Sets the Font name.
*
* @param string $name
* The Font name.
*
* @return \Drupal\social_font\Entity\FontInterface
* The called Font entity.
*/
public function setName($name);
/**
* Gets the Font creation timestamp.
*
* @return int
* Creation timestamp of the Font.
*/
public function getCreatedTime();
/**
* Sets the Font creation timestamp.
*
* @param int $timestamp
* The Font creation timestamp.
*
* @return \Drupal\social_font\Entity\FontInterface
* The called Font entity.
*/
public function setCreatedTime($timestamp);
/**
* Returns the Font published status indicator.
*
* Unpublished Font are only visible to restricted users.
*
* @return bool
* TRUE if the Font is published.
*/
public function isPublished();
/**
* Sets the published status of a Font.
*
* @param bool $published
* TRUE to set this Font to published, FALSE to set it to unpublished.
*
* @return \Drupal\social_font\Entity\FontInterface
* The called Font entity.
*/
public function setPublished($published);
}
Interfaces
Name | Description |
---|---|
FontInterface | Provides an interface for defining Font entities. |