function agenda_install_example_block in Agenda 6
Same name and namespace in other branches
- 6.2 agenda.install \agenda_install_example_block()
Install an example block
1 call to agenda_install_example_block()
- agenda_install in ./
agenda.install - Implementation of hook_install().
File
- ./
agenda.install, line 44 - Install, uninstall and scheme functions for the agenda module.
Code
function agenda_install_example_block() {
db_query("\n INSERT INTO {agenda} (bid, name, value)\n VALUES\n \t(1,'noeventstext','<p>No upcoming events</p>'),\n \t(1,'timeformat','h:ia'),\n \t(1,'customdate','l, F jS'),\n \t(1,'dateformat','custom'),\n \t(1,'maxevents','60'),\n \t(1,'datelimit','60'),\n \t(1,'start','Feb 1st, 2009'),\n \t(1,'end','April 1st, 2009'),\n \t(1,'title','Example agenda block'),\n \t(1,'linktext','View this event in Google Calendar'),\n \t(1,'cachetime','3600'),\n \t(1,'display_keys','start time, end date, end time, published, description, link'),\n \t(1,'hide_labels','description, link'),\n \t(1,'calendars','drupalagenda@gmail.com')");
}