You are here

public function LPManagedContent::getCoordinateX in Opigno Learning path 8

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

Returns X coordinate.

File

src/Entity/LPManagedContent.php, line 192

Class

LPManagedContent
Defines the Learning Path Content entity.

Namespace

Drupal\opigno_learning_path\Entity

Code

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