Loading optional_end_date.install +1 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ function optional_end_date_install() { $table['fields'][$field_name]['not null'] = FALSE; $database_schema->changeField($table_name, $field_name, $field_name, $table['fields'][$field_name]); } unset($table); $storage_schema->set($schema_key, $tables); } Loading optional_end_date.module +1 −1 Original line number Diff line number Diff line Loading @@ -43,7 +43,7 @@ function optional_end_date_field_widget_info_alter(&$info) { function optional_end_date_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.optional_end_date': $text = file_get_contents(dirname(__FILE__) . "/README.txt"); $text = file_get_contents(__DIR__ . "/README.txt"); if (!\Drupal::moduleHandler()->moduleExists('markdown')) { return '<pre>' . $text . '</pre>'; } Loading Loading
optional_end_date.install +1 −0 Original line number Diff line number Diff line Loading @@ -25,6 +25,7 @@ function optional_end_date_install() { $table['fields'][$field_name]['not null'] = FALSE; $database_schema->changeField($table_name, $field_name, $field_name, $table['fields'][$field_name]); } unset($table); $storage_schema->set($schema_key, $tables); } Loading
optional_end_date.module +1 −1 Original line number Diff line number Diff line Loading @@ -43,7 +43,7 @@ function optional_end_date_field_widget_info_alter(&$info) { function optional_end_date_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.optional_end_date': $text = file_get_contents(dirname(__FILE__) . "/README.txt"); $text = file_get_contents(__DIR__ . "/README.txt"); if (!\Drupal::moduleHandler()->moduleExists('markdown')) { return '<pre>' . $text . '</pre>'; } Loading