Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
drupal.org
email
Commits
40269a25
Commit
40269a25
authored
Oct 14, 2010
by
Matthias Hutterer
Browse files
#934682 by Dave Reid: moved email_field_schema() to email.install
parent
db88b73d
Changes
2
Show whitespace changes
Inline
Side-by-side
email.install
View file @
40269a25
<?php
/**
* Implements hook_field_schema().
*/
function
email_field_schema
(
$field
)
{
return
array
(
'columns'
=>
array
(
'email'
=>
array
(
'type'
=>
'varchar'
,
'length'
=>
255
,
'not null'
=>
FALSE
,
),
),
);
}
email.module
View file @
40269a25
...
...
@@ -17,21 +17,6 @@ function email_field_info() {
);
}
/**
* Implements hook_field_schema().
*/
function
email_field_schema
(
$field
)
{
return
array
(
'columns'
=>
array
(
'email'
=>
array
(
'type'
=>
'varchar'
,
'length'
=>
255
,
'not null'
=>
FALSE
,
),
),
);
}
/**
* Implements hook_field_validate().
*
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment