Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
date_ical
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
drupal.org
date_ical
Commits
cd17423a
Commit
cd17423a
authored
Oct 29, 2013
by
Robert Rollins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented hook_hook_info().
parent
abb798ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
+14
-4
date_ical.module
date_ical.module
+12
-2
includes/date_ical_plugin_row_ical_entity.inc
includes/date_ical_plugin_row_ical_entity.inc
+2
-2
No files found.
date_ical.module
View file @
cd17423a
...
...
@@ -31,8 +31,18 @@ class DateIcalParseException extends DateIcalException {}
* Implements hook_hook_info().
*/
function
date_ical_hook_info
()
{
// TODO: Finish this.
// Use two "groups": date_ical_import and date_ical_export.
$hooks
=
array
(
'date_ical_export_html_alter'
,
'date_ical_export_raw_event_alter'
,
'date_ical_export_vevent_alter'
,
'date_ical_export_vcalendar_alter'
,
'date_ical_export_post_render_alter'
,
'date_ical_import_vcalendar_alter'
,
'date_ical_import_component_alter'
,
'date_ical_import_timezone_alter'
,
);
return
array_fill_keys
(
$hooks
,
array
(
'group'
=>
'date_ical'
));
}
/**
...
...
includes/date_ical_plugin_row_ical_entity.inc
View file @
cd17423a
...
...
@@ -110,8 +110,8 @@ class date_ical_plugin_row_ical_entity extends views_plugin_row {
/**
* Preload the list of entities which will appear in the view.
*
*
@
TODO: When the date is coming in through a relationship, the nid
* of the view is not the right node to use
, then
we need the related node.
* TODO: When the date is coming in through a relationship, the nid
* of the view is not the right node to use
:
we need the related node.
* Need to sort out how that should be handled.
*/
public
function
pre_render
(
$values
)
{
...
...
Write
Preview
Markdown
is supported
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