Drupal 7 Menü Hook-URL'e Bağlı Fonksiyon Çalıştırma

4 dakika okuma süresi
function test_menu() {
    $items['url/url2'] = array(
        'title' => 'TEST MENU HOOK',
        'page callback' => 'test',
        'access callback' => TRUE,
        'file' => 'test.page.inc',
    );
    return $items;
}

test.page.inc dosyasında

    function test_page() {
        return 'Merhaba Test!';
    }

Ofislerimiz

Drupart AR-GE

GOSB Teknopark Hi-Tech Bina 3.Kat B3 Gebze - KOCAELİ

+90 262 678 8872

[email protected]

Frankfurt

Media4People
Bleichstr. 26
64283 Darmstadt

+49 (0) 6151 – 492 70 23

[email protected]

Dublin

20 Harcourt Street
Dublin 2
D02 H364

+353871986950

[email protected]