Created
March 20, 2014 14:59
-
-
Save low/9665729 to your computer and use it in GitHub Desktop.
Add LV support to an EE fieldtype, the most basic way: add this to a fieldtype class.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function display_var_field($data) | |
{ | |
return $this->_display_field("var[{$this->var_id}]", $data); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment