function fb_app_validate in Drupal for Facebook 5
Same name and namespace in other branches
- 5.2 fb_app.module \fb_app_validate()
File
- ./
fb_app.module, line 194 - Defines a custom node type that stores a facebook application configuration.
Code
function fb_app_validate($node) {
// TODO: check label is unique, and role name will be unique.
// check apikey is unique, canvas page is unique
// check no menu items start with $fb_app->canvas, because we will rewrite those URLs
}