Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (9 sloc) 267 Bytes
<?php
class BandController extends DrupalDefaultEntityController{
public function save($band) {
drupal_write_record('bandcamp_band', $band);
field_attach_insert('band', $band);
module_invoke_all('entity_insert', 'band', $band);
return $band;
}
}
Something went wrong with that request. Please try again.