Contact Form Plugin - How is the form function registered?

william - 2 months ago

Looking at the contact plugin, it's empty. Where does the logic for {{form('contact)}} come from?

<?php namespace Anomaly\ContactPlugin;
use Anomaly\Streams\Platform\Addon\Plugin\Plugin;
/**
 * Class ContactPlugin
 *
 * @link   http://pyrocms.com/
 * @author PyroCMS, Inc. <support@pyrocms.com>
 * @author Ryan Thompson <ryan@pyrocms.com>
 */
class ContactPlugin extends Plugin
{
}

Answer

william - 2 months ago

Bindings.. bla bla bla

william - 2 months ago

Bindings.. bla bla bla

ryanthompson - 2 months ago

Blah blah blah {{ form('contact') }} is here: https://github.com/anomalylabs/contact-plugin/blob/1.2/src/ContactPluginServiceProvider.php#L22

william - 2 months ago

Thats what i said:)