コード例 #1
0
 /**
  * {@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;
 }
コード例 #2
0
 /**
  * {@inheritdoc}
  */
 public function getQuery(array $fields = [])
 {
     return parent::getQuery($fields)->condition('type', 'Pharborist\\Functions\\FunctionDeclarationNode');
 }