Skip to content
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.

Commit

Permalink
Merge pull request #16 from edlinklater/fix-example-code
Browse files Browse the repository at this point in the history
Fix incorrect example code in README
  • Loading branch information
dunatron authored Oct 29, 2017
2 parents 2d8b01d + 0cdf673 commit 7a8a24a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ various common YouTube URL formats and converts them for storage in database as
'VideoID' => 'Varchar(11)',
);

public static getCMSFields() {
public function getCMSFields() {
$fields = parent::getCMSFields();
$fields->addFieldToTab('Root.Main', new YouTubeField('VideoID', 'YouTube Video'));
return $fields;
Expand Down

0 comments on commit 7a8a24a

Please sign in to comment.