Rename and re-organise custom modules
- Rename `opd_talks` to `opdavies_talks` - Rename `custom` to `opdavies_blog`
This commit is contained in:
parent
e4e898f22c
commit
9b1a8fb3be
53 changed files with 125 additions and 116 deletions
18
web/modules/custom/opdavies_blog/opdavies_blog.module
Normal file
18
web/modules/custom/opdavies_blog/opdavies_blog.module
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Custom module.
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
use Symfony\Component\Finder\Finder;
|
||||
|
||||
$finder = Finder::create()
|
||||
->in(__DIR__ . DIRECTORY_SEPARATOR . 'hooks')
|
||||
->name('/.[php|inc]$/');
|
||||
|
||||
foreach ($finder as $file) {
|
||||
include $file->getPathname();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue