- πΊπΈUnited States smustgrave
Problem is there is no API for the hooks of this module.
I am content lock enabled and working for all nodes but I am trying to figure out a way to prevent content from being locked if a user has certain criteria or any other condition. I am attempting to do this in a form_alter hook but that does not seem to be doing the trick.
for example:
function my_module_node_form_alter($form, $form_state) {
if (user->hasSomeCondition() == true) {
// prevent lock
}
}
Is this possible?
Thanks
Closed: duplicate
Documentation
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Problem is there is no API for the hooks of this module.