You are here

public function ResourceFieldBase::isComputed in RESTful 7.2

Checks if the current field is computed.

Return value

bool TRUE if the field is computed.

Overrides ResourceFieldInterface::isComputed

File

src/Plugin/resource/Field/ResourceFieldBase.php, line 292
Contains \Drupal\restful\Plugin\resource\Field\ResourceFieldBase.

Class

ResourceFieldBase

Namespace

Drupal\restful\Plugin\resource\Field

Code

public function isComputed() {
  return !$this
    ->getProperty();
}