'node', * 'Bundle' => 'article', * ) * @endcode * * @return array * An array of field definitions of entity fields, keyed by field * name. In addition to the typed data definition keys as described at * typed_data()->create() the follow keys are supported: * - queryable: Whether the field is queryable via QueryInterface. * Defaults to TRUE if 'computed' is FALSE or not set, to FALSE otherwise. * - translatable: Whether the field is translatable. Defaults to FALSE. * - configurable: A boolean indicating whether the field is configurable * via field.module. Defaults to FALSE. * * @see Drupal\Core\TypedData\TypedDataManager::create() * @see typed_data() */ public function getFieldDefinitions(array $constraints); /** * Gets the name of the service for the query for this entity storage. * * @return string */ public function getQueryServicename(); }