Commit caf2fc2f authored by droces's avatar droces

Changed text of Book button

parent 9a09ca68
......@@ -103,7 +103,7 @@ function booking_form_alter(&$form, FormStateInterface $form_state, $form_id) {
// Form for creating new booking nodes
case 'node_booking_form':
$form['actions']['publish']['#value'] = t('Place Booking');
$form['actions']['publish']['#value'] = t('Book');
if (in_array("/book", $build_info_args)) {
// kint('is front-end booking form');
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment