You are here

public function OpignoGroupManagedContent::getCoordinateX in Opigno group manager 8

Same name and namespace in other branches
  1. 3.x src/Entity/OpignoGroupManagedContent.php \Drupal\opigno_group_manager\Entity\OpignoGroupManagedContent::getCoordinateX()

Returns X coordinate.

Return value

int The X coordinate.

File

src/Entity/OpignoGroupManagedContent.php, line 255

Class

OpignoGroupManagedContent
Defines the Opigno Group Content entity.

Namespace

Drupal\opigno_group_manager\Entity

Code

public function getCoordinateX() {
  return $this
    ->get('coordinate_x')->value;
}