You are here

public function GridStackBase::getIconFileUri in GridStack 8.2

Returns the file icon URI stored in public directory.

2 calls to GridStackBase::getIconFileUri()
GridStack::delete in src/Entity/GridStack.php
Deletes an entity permanently.
GridStack::getIconUri in src/Entity/GridStack.php
Returns the icon URI.

File

src/Entity/GridStackBase.php, line 164

Class

GridStackBase
Defines the base class for GridStack configuration entity.

Namespace

Drupal\gridstack\Entity

Code

public function getIconFileUri($dir = 'gridstack', $extension = 'png') {
  $uri = $this
    ->buildIconFileUri($dir, $extension);
  return is_file($uri) ? $uri : FALSE;
}