diff options
Diffstat (limited to 'modules/bhavika/company/company.module')
-rw-r--r-- | modules/bhavika/company/company.module | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/modules/bhavika/company/company.module b/modules/bhavika/company/company.module new file mode 100644 index 0000000..b060f46 --- /dev/null +++ b/modules/bhavika/company/company.module @@ -0,0 +1,35 @@ +<?php + +/** + * @file + * Contains company.module. + */ + +use Drupal\Core\Routing\RouteMatchInterface; + +/** + * Implements hook_help(). + */ +function company_help($route_name, RouteMatchInterface $route_match) { + switch ($route_name) { + // Main module help for the company module. + case 'help.page.company': + $output = ''; + $output .= '<h3>' . t('About') . '</h3>'; + $output .= '<p>' . t('Company module is for companies content type for placements') . '</p>'; + return $output; + + default: + } +} + +/** + * Implements hook_theme(). + */ +function company_theme() { + return [ + 'company' => [ + 'render element' => 'children', + ], + ]; +} |