/** * {@inheritdoc} */ public function getFields() { $fields = parent::getFields(); $fields['type'] = array('type' => 'varchar', 'length' => 255, 'not null' => TRUE); $fields['parent'] = array('type' => 'varchar', 'length' => 255); return $fields; }
/** * {@inheritdoc} */ public function getQuery(array $fields = []) { return parent::getQuery($fields)->condition('type', 'Pharborist\\Functions\\FunctionDeclarationNode'); }